Browse Source

no message

FengChaoYu 4 months ago
parent
commit
d08549a081

+ 1 - 2
mall-server-api/src/main/java/com/gree/mall/manager/logic/workorder/AppraiseRelaLogic.java

@@ -587,7 +587,7 @@ public class AppraiseRelaLogic {
                 }
                 apply.setExamineResult(apply.getAppraiseStatus());
             }
-            pgAppraiseApplyService.saveBatch(applyList);
+            pgAppraiseApplyService.saveOrUpdateBatch(applyList);
 
             for (String orderId : orderIds) {
                 final PgAppraiseApply apply = applyMap.get(orderId);
@@ -600,7 +600,6 @@ public class AppraiseRelaLogic {
             }
         }
 
-
         pgAppraiseApplyService.lambdaUpdate()
                 .set(PgAppraiseApply::getCloseBy, adminUser.getNickName())
                 .set(PgAppraiseApply::getCloseTime, DateUtil.date())

+ 1 - 1
mall-server-api/src/main/resources/mapper/CommonMapper.xml

@@ -1599,7 +1599,7 @@
             </foreach>
         </if>
         <if test="ex.orderBy == null or ex.orderBy ==''">
-            ORDER BY a.apply_time DESC
+            ORDER BY a.update_time DESC
         </if>
         ${ex.orderBy}
     </select>