This commit is contained in:
DirectionOfMind 2020-12-30 11:05:53 +08:00
parent b18e6d24dd
commit f4d348da68
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ public class EquipmentController extends AbstractController {
});*/
int i = tCountMapper.selectMaxNum();
if(equipmentInfo.getCount()<i){
logger.info("" + i + "次盘点");
logger.info("" + i + "次盘点" + code);
equipmentInfo.setCount(i);
iEquipmentInfoService.insertEquipmentInfo(equipmentInfo);
}

View File

@ -181,7 +181,7 @@
<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 id="selectByCondition" resultType="com.lz.modules.equipment.entity.EquipmentInfo">