重庆需求变更代码提交
This commit is contained in:
parent
b4c2506f5a
commit
7705e3245a
|
|
@ -147,7 +147,7 @@ public class MaTypeServiceImpl implements ITypeService {
|
|||
typeFileMapper.insertMaTypeFile(typeFile1);
|
||||
}
|
||||
// 库管员配置
|
||||
if (maType.getKeeperUserId() >= 0L) {
|
||||
if (maType.getKeeperUserId() != null) {
|
||||
maTypeMapper.deleteKeeperByTypeId(typeId);
|
||||
MaTypeKeeper typeKeeper = new MaTypeKeeper();
|
||||
typeKeeper.setUserId(maType.getKeeperUserId());
|
||||
|
|
@ -158,7 +158,7 @@ public class MaTypeServiceImpl implements ITypeService {
|
|||
}
|
||||
|
||||
// 维修员配置
|
||||
if (maType.getRepairUserId() >= 0L) {
|
||||
if (maType.getRepairUserId() != null) {
|
||||
maTypeMapper.deleteTypeByTypeId(typeId);
|
||||
MaTypeRepair typeRepair = new MaTypeRepair();
|
||||
typeRepair.setUserId(maType.getRepairUserId());
|
||||
|
|
@ -335,7 +335,7 @@ public class MaTypeServiceImpl implements ITypeService {
|
|||
|
||||
@Override
|
||||
public List<Integer> selectParentId(Long typeId, Integer level) {
|
||||
return maTypeMapper.selectParentId(typeId,level);
|
||||
return maTypeMapper.selectParentId(typeId, level);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue