refactor(module/frozen-sale | mapper/Stock): 仓库状态同步 | 修复业务逻辑错误
增删改查操作时将动态同步仓库中的Item状态 移除了数量计算 (业务无关) 修改了仓储模块的部分 SQL (适配状态同步)
This commit is contained in:
@@ -33,6 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<include refid="selectDdFsVo"/>
|
||||
<where>
|
||||
<if test="code != null and code != ''"> and code like concat('%', #{code}, '%')</if>
|
||||
<if test="stat != null and stat != ''">and stat = #{stat}</if>
|
||||
<if test="tech != null and tech != ''"> and tech like concat('%', #{tech}, '%')</if>
|
||||
<if test="params.beginFreezeDt != null and params.endFreezeDt != null">
|
||||
and freeze_dt between #{params.beginFreezeDt} and #{params.endFreezeDt}
|
||||
|
||||
Reference in New Issue
Block a user