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