|
|
@@ -692,6 +692,9 @@ public class ThirdPartyCompanyServiceImpl extends BaseMybatisDao<ThirdPartyComp
|
|
|
for (String s : idss) {
|
|
|
TOrderPayment top=tOrderPaymentMapper.selectByPrimaryKey(Integer.valueOf(s));
|
|
|
if (top!=null&&top.getStatus()==1) {
|
|
|
+ top.setStatus(3);
|
|
|
+ top.setPaymentAmount(top.getApplicationAmount());
|
|
|
+ tOrderPaymentMapper.updateByPrimaryKeySelective(top);
|
|
|
list.add(top.getId());
|
|
|
//做已付款金额计算
|
|
|
confirmPayment(top);
|
|
|
@@ -713,7 +716,7 @@ public class ThirdPartyCompanyServiceImpl extends BaseMybatisDao<ThirdPartyComp
|
|
|
}
|
|
|
}
|
|
|
if(!nlist.isEmpty())noticeMapper.insertBatch(nlist);
|
|
|
- if(!list.isEmpty())tOrderPaymentMapper.updateByids(list);
|
|
|
+// if(!list.isEmpty())tOrderPaymentMapper.updateByids(list);
|
|
|
Map<String ,Object> map=new HashMap<>();
|
|
|
map.put("OK", list);
|
|
|
map.put("fail", elist);
|