修改调拨入库逻辑

master
杨万里 1 day ago
parent 593ce05aca
commit cab2395012

@ -151,6 +151,8 @@ public class BaseInventoryServiceImpl implements IBaseInventoryService
recordWarehousing.setCreateTime(DateUtils.getNowDate());
recordWarehousing.setCreateBy(baseInventory.getCreateBy());
recordWarehousingMapper.insertRecordWarehousing(recordWarehousing);
//更新创建人
return AjaxResult.success("入库成功!");
}else {
//插入库存表以及基础信息表

@ -264,6 +264,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<update id="updateBaseTyreByEpc" parameterType="BaseTyre">
update base_tyre
<trim prefix="SET" suffixOverrides=",">
<if test="team != null and team != ''">team = #{team},</if>
<if test="deptId != null and deptId != ''">dept_id = #{deptId},</if>
</trim>
where tyre_epc = #{tyreEpc}

Loading…
Cancel
Save