|
|
@@ -146,7 +146,6 @@ public class ThirdPartyCompanyServiceImpl extends BaseMybatisDao<ThirdPartyComp
|
|
|
public int addOrderPayment(TOrderPayment p) {
|
|
|
p.setStatus(0);
|
|
|
tOrderPaymentMapper.insertSelectiveGetId(p);
|
|
|
- System.out.println(p.getId());
|
|
|
NoticeInformationBo ni=financialPaymentMapper.selectBypidGetNotice(p.getId());
|
|
|
AdminListBo a =adminMapper.getDeptNameByAid(TokenManager.getAdminId());
|
|
|
addNoticAndSendEmail(ni,a,NoticeStatus.PAYMENT_NODE.getCode());
|
|
|
@@ -171,7 +170,7 @@ public class ThirdPartyCompanyServiceImpl extends BaseMybatisDao<ThirdPartyComp
|
|
|
NoticeInformationBo ni=financialPaymentMapper.selectBypidGetNotice(p.getId());
|
|
|
AdminListBo a =adminMapper.getDeptNameByAid(TokenManager.getAdminId());
|
|
|
addNoticAndSendEmail(ni,a,type);
|
|
|
- PaymentLog pl=new PaymentLog(p.getId(),0,NoticeStatus.getValueByCode(type),a.getId(),a.getName());
|
|
|
+ PaymentLog pl=new PaymentLog(p.getId(),0,p.getRemarks(),a.getId(),a.getName());
|
|
|
paymentLogMapper.insertSelective(pl);
|
|
|
return tOrderPaymentMapper.updateByPrimaryKeySelective(p);
|
|
|
}
|