feat(wms): 新增钢卷发货撤回功能
- 在 IWmsMaterialCoilService 中添加 withdrawExportCoil 方法 - 实现 WmsMaterialCoilController 的 withdrawExport 接口 - 添加 WmsMaterialCoilMapper 的 updateForWithdrawExport 方法 - 创建 XML 映射文件中的 updateForWithdrawExport SQL 更新语句 - 完成 WmsMaterialCoilServiceImpl 中的 withdrawExportCoil 业务逻辑实现 - 添加参数校验、存在性检查和状态验证逻辑
This commit is contained in:
@@ -427,6 +427,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
${ew.customSqlSegment}
|
||||
</select>
|
||||
|
||||
<!-- 更新钢卷发货撤回:将发货时间置空,状态改为未发货 -->
|
||||
<update id="updateForWithdrawExport">
|
||||
UPDATE wms_material_coil
|
||||
SET export_time = NULL,
|
||||
status = #{status}
|
||||
WHERE coil_id = #{coilId}
|
||||
</update>
|
||||
|
||||
</mapper>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user