Explorar el Código

优化 投诉流程

java110 hace 5 años
padre
commit
78e464a52d

+ 2 - 2
java110-db/src/main/resources/mapper/common/WorkflowServiceDaoImplMapper.xml

@@ -34,7 +34,7 @@
             and t.b_id= #{bId}
         </if>
         <if test="communityId !=null and communityId != ''">
-            and t.community_id= #{communityId}
+            and t.community_id in (#{communityId},'9999')
         </if>
         <if test="storeId !=null and storeId != ''">
             and t.store_id= #{storeId}
@@ -70,7 +70,7 @@
             and t.b_id= #{bId}
         </if>
         <if test="communityId !=null and communityId != ''">
-            and t.community_id= #{communityId}
+            and t.community_id in (#{communityId},'9999')
         </if>
         <if test="storeId !=null and storeId != ''">
             and t.store_id= #{storeId}

+ 1 - 1
service-api/src/main/java/com/java110/api/listener/workflow/UpdateWorkflowListener.java

@@ -118,7 +118,7 @@ public class UpdateWorkflowListener extends AbstractServiceApiPlusListener {
         if (reqJson.containsKey("flowType")) {
             String flowType = reqJson.getString("flowType");
             if (WorkflowDto.FLOW_TYPE_PURCHASE.equals(flowType) || WorkflowDto.FLOW_TYPE_COLLECTION.equals(flowType)) {
-                reqJson.put("communityId", reqJson.getString("communityId"));
+                reqJson.put("communityId", "9999");
             }
         }