重庆测试bug修复
This commit is contained in:
parent
42bdba2ae6
commit
fd18e83ced
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue