|
@@ -223,8 +223,8 @@ public class JtBusinessServiceImpl extends BaseMybatisDao<JtBusinessProjectMapp
|
|
|
jtBusinessCategoryMapper.updateByPrimaryKeySelective(category);
|
|
jtBusinessCategoryMapper.updateByPrimaryKeySelective(category);
|
|
|
//是否修改了模块类别
|
|
//是否修改了模块类别
|
|
|
boolean moduleChange = null != jtBusinessCategory.getModule() ? !jtBusinessCategory.getModule().equals(jtBusinessCategory.getNextModule()) : false;
|
|
boolean moduleChange = null != jtBusinessCategory.getModule() ? !jtBusinessCategory.getModule().equals(jtBusinessCategory.getNextModule()) : false;
|
|
|
- //是否有上级id
|
|
|
|
|
- boolean existSuperId = StringUtils.isNotBlank(jtBusinessCategory.getSuperId());
|
|
|
|
|
|
|
+ //是否有上级id,并且改变了上级id
|
|
|
|
|
+ boolean existSuperId = StringUtils.isNotBlank(jtBusinessCategory.getSuperId()) ? !jtBusinessCategory.getSuperId().equals(jtBusinessCategory.getOldSuperId()) : false;
|
|
|
//获得更改前的自己的number
|
|
//获得更改前的自己的number
|
|
|
String oldNumber = jtBusinessCategoryMapper.selectByPrimaryKey(jtBusinessCategory.getId()).getNumber();
|
|
String oldNumber = jtBusinessCategoryMapper.selectByPrimaryKey(jtBusinessCategory.getId()).getNumber();
|
|
|
String number = null;
|
|
String number = null;
|