Bladeren bron

流程配置

andy 3 jaren geleden
bovenliggende
commit
b4f6280e8b

+ 1 - 1
warewms-ams/src/main/java/com/ruoyi/ams/task/service/impl/WcsTaskServiceImpl.java

@@ -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);
             }

+ 1 - 0
warewms-ams/src/main/resources/mapper/ams/FlowConfigHeaderMapper.xml

@@ -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">

+ 1 - 0
warewms-base/src/main/resources/mapper/base/BaseSkuMapper.xml

@@ -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>
         </where>
+        order by create_time desc
     </select>
     
     <select id="selectBaseSkuByCustomerId" parameterType="String" resultMap="BaseSkuResult">