fix issue

This commit is contained in:
sxu 2024-08-20 14:56:05 +08:00
parent a71b69eefd
commit b3af31388b
1 changed files with 2 additions and 2 deletions

View File

@ -118,8 +118,8 @@ public class RepairTestInputServiceImpl implements RepairTestInputService {
if (Objects.equals("0", dto.getType())) {
codeMachinePreStoreNum = mapper.getCountOfMachineByTypeId(dto.getTypeId());
// 查询机具状态-在库的id管理方式为编号的需更新机具设备的机具状态
int dicId = mapper.getDicByMaStatusId("ma_status", "在库");
mapper.updateMaMachineStatus(dicId, dto.getMaId());
//int dicId = mapper.getDicByMaStatusId("ma_status", "在库");
mapper.updateMaMachineStatus(15, dto.getMaId());
}
try {
if (Objects.equals("0", dto.getType())) {