修试后入库接口修改
This commit is contained in:
parent
17ddd03864
commit
b2deb4a778
|
|
@ -144,5 +144,5 @@ public interface RepairInputDetailsMapper {
|
|||
|
||||
List<RepairInputDetails> selectRepairListByBoxId(RepairInputDetails input);
|
||||
|
||||
int updateBoxStatus(String qrCode, int i);
|
||||
int updateBoxStatus(RepairInputDetails input);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -790,7 +790,7 @@ public class RepairInputDetailsServiceImpl implements IRepairInputDetailsService
|
|||
|
||||
}
|
||||
//5修改标准箱状态
|
||||
result = updateBoxStatus(repairInputDetails.getQrCode());
|
||||
result = updateBoxStatus(repairInputDetails);
|
||||
|
||||
} catch (Exception e) {
|
||||
throw new ServiceException("系统错误, " + e.getMessage());
|
||||
|
|
@ -798,9 +798,9 @@ public class RepairInputDetailsServiceImpl implements IRepairInputDetailsService
|
|||
return result;
|
||||
}
|
||||
|
||||
private int updateBoxStatus(String qrCode) {
|
||||
private int updateBoxStatus(RepairInputDetails input) {
|
||||
int result = 0;
|
||||
result = repairInputDetailsMapper.updateBoxStatus(qrCode, 6);
|
||||
result = repairInputDetailsMapper.updateBoxStatus(input);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue