@@ -136,7 +136,7 @@ public class WcsTaskServiceImpl implements IWcsTaskService {
if (!StringUtils.isEmpty(wcsTask.getLocationFrom())) {
bf = baseLocationInfoService.selectBaseLocationInfoById(Long.parseLong(wcsTask.getLocationFrom()));
if (bf != null) {
- bf.setIsEmpty("N");
+ bf.setIsEmpty("Y");
bf.setStockStatus("00");
baseLocationInfoService.updateBaseLocationInfo(bf);
}
@@ -104,6 +104,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where>
<if test="flowName != null and flowName != ''"> and flow_name like concat('%', #{flowName}, '%')</if>
</where>
+ order by create_time desc
</select>
<select id="selectFlowConfigHeaderDict" parameterType="Long" resultMap="FlowConfigHeaderResult">
@@ -76,6 +76,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="skuType != null and skuType != ''"> and sku_type = #{skuType}</if>
<if test="activeFlag != null and activeFlag != ''"> and active_flag = #{activeFlag}</if>
<select id="selectBaseSkuByCustomerId" parameterType="String" resultMap="BaseSkuResult">