Browse Source

开发dev的签章信息校验及添加

hgw 3 years ago
parent
commit
362d3561c9

+ 2 - 4
mec-biz/src/main/java/com/ym/mec/biz/service/impl/TenantInfoServiceImpl.java

@@ -348,10 +348,8 @@ public class TenantInfoServiceImpl extends ServiceImpl<TenantInfoDao, TenantInfo
         //建立角色和菜单关系数据
         //建立角色和菜单关系数据
         Lists.partition(collectMenuId, 50)
         Lists.partition(collectMenuId, 50)
                 .forEach(idList -> employeeService.batchInsertRoleMenu(roleId, idList, tenantId));
                 .forEach(idList -> employeeService.batchInsertRoleMenu(roleId, idList, tenantId));
-        if (!profiles.equals("dev")) {
-            //添加签章信息
-            contractService.addTsign(tenantInfo.getTsignCode(), tenantInfo.getTsignName());
-        }
+        //添加签章信息
+        contractService.addTsign(tenantInfo.getTsignCode(), tenantInfo.getTsignName());
 
 
         Date now = new Date();
         Date now = new Date();