fix
This commit is contained in:
parent
b18e6d24dd
commit
f4d348da68
@ -90,7 +90,7 @@ public class EquipmentController extends AbstractController {
|
|||||||
});*/
|
});*/
|
||||||
int i = tCountMapper.selectMaxNum();
|
int i = tCountMapper.selectMaxNum();
|
||||||
if(equipmentInfo.getCount()<i){
|
if(equipmentInfo.getCount()<i){
|
||||||
logger.info("第" + i + "次盘点");
|
logger.info("第" + i + "次盘点" + code);
|
||||||
equipmentInfo.setCount(i);
|
equipmentInfo.setCount(i);
|
||||||
iEquipmentInfoService.insertEquipmentInfo(equipmentInfo);
|
iEquipmentInfoService.insertEquipmentInfo(equipmentInfo);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -181,7 +181,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<select id="selectEquipmentInfoByCode" resultType="EquipmentInfo">
|
<select id="selectEquipmentInfoByCode" resultType="EquipmentInfo">
|
||||||
select * from equipment_info where code=#{code} and is_delete = 0 limit 1
|
select * from equipment_info where code=#{code} and is_delete = 0 order by count desc limit 1
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectByCondition" resultType="com.lz.modules.equipment.entity.EquipmentInfo">
|
<select id="selectByCondition" resultType="com.lz.modules.equipment.entity.EquipmentInfo">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user