重庆测试bug修复

This commit is contained in:
liang.chao 2024-10-11 13:15:08 +08:00
parent 42bdba2ae6
commit fd18e83ced
1 changed files with 3 additions and 2 deletions

View File

@ -65,10 +65,11 @@ public class MaTypeServiceImpl implements ITypeService {
level = maType1.getLevel();
}
maType.setLevel(String.valueOf(Integer.parseInt(level) + 1));
maType.setCompanyId(maType1.getCompanyId());
maType.setCreateTime(DateUtils.getNowDate());
if (parentId == 0){
if (parentId == 0) {
maType.setCompanyId("101");
} else {
maType.setCompanyId(maType1.getCompanyId());
}
int i = maTypeMapper.insertType(maType);
Long typeId = maType.getTypeId();