anderx 4 gadi atpakaļ
vecāks
revīzija
75e5368ffe

+ 3 - 3
src/main/java/com/goafanti/common/mapper/TOrderTaskMapper.xml

@@ -2134,9 +2134,9 @@ left join department de on x.department_id=de.id left join business_category bc
     </if>
   </select>
   <update id="resstPayment">
-  update t_order_task a ,t_order_mid b ,t_task_mid c 
-    set b.payment_amount =0,c.party_amount =0,c.cost_amount =0
-    where a.id= #{id} and a.order_no =b.order_no and a.id=c.tid 
+  update t_order_task a ,t_task_mid c 
+    set c.party_amount =0,c.cost_amount =0
+    where a.id= #{id} and  a.id=c.tid 
   </update>
   <update id="updateAddCostAmount">
   update t_task_mid