Commit a86af46e by qwmqiuwenmin

fix

parent bbe29aae
......@@ -415,7 +415,7 @@ public class StaffApiServiceImpl implements StaffApiService {
}
//不包含,则说明员工删除了该部门
if(!departmentIds.contains(tab1.getDepartmentId())){
logger.info("【员工修改删除部门】tab1.getDepartmentId()={}",tab1.getDepartmentId());
logger.info("【员工修改删除】tab1.getDepartmentId()={}",tab1.getDepartmentId());
StaffDepartmentRelatedDTO related = EntityUtil.changeEntityByJSON(StaffDepartmentRelatedDTO.class, tab1);
staffDepartmentRelatedService.del(related);
if(org.apache.commons.lang3.StringUtils.isNotBlank(tab1.getClerkCode())){
......@@ -426,7 +426,7 @@ public class StaffApiServiceImpl implements StaffApiService {
}
Boolean weixinPush = staffDTO.getWeixinPush();
if(!weixinPush){
if(weixinPush == null || !weixinPush){
WxEnterpriseDTO enterpriseDTO = wxEnterpriseService.selectById(oldStaff.getWxEnterpriseId());
TabHaobanWxApplication application = wxApplicationService.selectByWxEnterpriseIdAndApplicationType(oldStaff.getWxEnterpriseId(),1);
if(enterpriseDTO != null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment