fix
This commit is contained in:
parent
7ecef9226f
commit
ab6e836859
@ -95,6 +95,7 @@ public class EquipmentController extends AbstractController {
|
|||||||
iEquipmentInfoService.insertEquipmentInfo(equipmentInfo);
|
iEquipmentInfoService.insertEquipmentInfo(equipmentInfo);
|
||||||
}
|
}
|
||||||
addRecord(equipmentInfo);
|
addRecord(equipmentInfo);
|
||||||
|
model.setId(equipmentInfo.getId());
|
||||||
return R.ok().put("data", model);
|
return R.ok().put("data", model);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -121,7 +121,7 @@ public class EquipmentInfoServiceImpl extends ServiceImpl<EquipmentInfoMapper, E
|
|||||||
int i = tCountMapper.selectMaxNum();
|
int i = tCountMapper.selectMaxNum();
|
||||||
|
|
||||||
if(info==null || (info!=null && info.getCount()<i)){
|
if(info==null || (info!=null && info.getCount()<i)){
|
||||||
logger.info("change 第" + i + "次盘点");
|
log.info("change 第" + i + "次盘点");
|
||||||
EquipmentInfo insert = new EquipmentInfo();
|
EquipmentInfo insert = new EquipmentInfo();
|
||||||
insert.setType(equipmentType.getType());
|
insert.setType(equipmentType.getType());
|
||||||
insert.setBrandName(equipmentBrand.getBrand());
|
insert.setBrandName(equipmentBrand.getBrand());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user