md
This commit is contained in:
parent
f0d34a0071
commit
1e6b30752b
@ -57,7 +57,11 @@ public interface EmisWarehouseInBatchMapper extends BaseMapper<EmisWarehouseInBa
|
||||
public int updateEmisWarehouseInBatch(EmisWarehouseInBatch emisWarehouseInBatch);
|
||||
|
||||
|
||||
public int updateAbnormalBySerialNo(EmisWarehouseInBatch emisWarehouseInBatch);
|
||||
public int updateAbnormalByOms(EmisWarehouseInBatch emisWarehouseInBatch);
|
||||
|
||||
public int cusConfirmBatchWsInByOms(EmisWarehouseInBatch emisWarehouseInBatch);
|
||||
|
||||
public int cusConfirmAllWsInByOms(EmisWarehouseInBatch emisWarehouseInBatch);
|
||||
|
||||
/**
|
||||
* 删除
|
||||
|
||||
@ -52,7 +52,11 @@ public interface IEmisWarehouseInBatchService
|
||||
*/
|
||||
public int updateEmisWarehouseInBatch(EmisWarehouseInBatch emisWarehouseInBatch);
|
||||
|
||||
public int updateAbnormalBySerialNo(EmisWarehouseInBatch emisWarehouseInBatch);
|
||||
public int updateAbnormalByOms(EmisWarehouseInBatch emisWarehouseInBatch);
|
||||
|
||||
public int cusConfirmBatchWsInByOms(EmisWarehouseInBatch emisWarehouseInBatch);
|
||||
|
||||
public int cusConfirmAllWsInByOms(EmisWarehouseInBatch emisWarehouseInBatch);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -206,11 +206,24 @@ public class EmisWarehouseInBatchServiceImpl extends EmisBaseService implements
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateAbnormalBySerialNo(EmisWarehouseInBatch emisWarehouseInBatch)
|
||||
public int updateAbnormalByOms(EmisWarehouseInBatch emisWarehouseInBatch)
|
||||
{
|
||||
return emisWarehouseInBatchMapper.updateAbnormalBySerialNo(emisWarehouseInBatch);
|
||||
return emisWarehouseInBatchMapper.updateAbnormalByOms(emisWarehouseInBatch);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int cusConfirmBatchWsInByOms(EmisWarehouseInBatch emisWarehouseInBatch)
|
||||
{
|
||||
return emisWarehouseInBatchMapper.cusConfirmBatchWsInByOms(emisWarehouseInBatch);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int cusConfirmAllWsInByOms(EmisWarehouseInBatch emisWarehouseInBatch)
|
||||
{
|
||||
return emisWarehouseInBatchMapper.cusConfirmAllWsInByOms(emisWarehouseInBatch);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 批量删除进仓单批次
|
||||
*
|
||||
|
||||
@ -239,11 +239,23 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<update id="updateAbnormalBySerialNo" parameterType="EmisWarehouseInBatch">
|
||||
<update id="updateAbnormalByOms" parameterType="EmisWarehouseInBatch">
|
||||
update emis_warehouse_in_batch set bl_abnormal = '1',abnormal_date=now(),abnormal_desc = #{abnormalDesc}
|
||||
where serial_no = #{serialNo}
|
||||
</update>
|
||||
|
||||
<!-- 单次入库确认 -->
|
||||
<update id="cusConfirmBatchWsInByOms" parameterType="EmisWarehouseIn">
|
||||
update emis_warehouse_in_batch set confirm_status=#{confirmStatus},confirm_date=now()
|
||||
where in_no = #{inNo} and serial_no = #{serialNo} and customer_code = #{customerCode}
|
||||
</update>
|
||||
|
||||
<!-- 全部入库确认 -->
|
||||
<update id="cusConfirmAllWsInByOms" parameterType="EmisWarehouseIn">
|
||||
update emis_warehouse_in set confirm_status=#{confirmStatus},confirm_date=now()
|
||||
where in_no = #{inNo} and customer_code = #{customerCode}
|
||||
</update>
|
||||
|
||||
|
||||
<delete id="deleteEmisWarehouseInBatchById" parameterType="Long">
|
||||
update emis_warehouse_in_batch set del_flag='1' where id = #{id}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user