修改进件状态
This commit is contained in:
@@ -100,8 +100,12 @@ public class ShopDirectMerchantServiceImpl extends ServiceImpl<ShopDirectMerchan
|
|||||||
merchant.setBusinessLicenceInfo(JSONObject.toJSONString(reqDto.getBusinessLicenceInfo()));
|
merchant.setBusinessLicenceInfo(JSONObject.toJSONString(reqDto.getBusinessLicenceInfo()));
|
||||||
merchant.setStoreInfo(JSONObject.toJSONString(reqDto.getStoreInfo()));
|
merchant.setStoreInfo(JSONObject.toJSONString(reqDto.getStoreInfo()));
|
||||||
merchant.setSettlementInfo(JSONObject.toJSONString(reqDto.getSettlementInfo()));
|
merchant.setSettlementInfo(JSONObject.toJSONString(reqDto.getSettlementInfo()));
|
||||||
merchant.setWechatStatus(PayCst.EntryStatus.WAIT);
|
if (merchant.getAlipayStatus().equals(PayCst.EntryStatus.INIT) || merchant.getAlipayStatus().equals(PayCst.EntryStatus.REJECTED)) {
|
||||||
merchant.setAlipayStatus(PayCst.EntryStatus.WAIT);
|
merchant.setAlipayStatus(PayCst.EntryStatus.WAIT);
|
||||||
|
}
|
||||||
|
if (merchant.getWechatStatus().equals(PayCst.EntryStatus.INIT) || merchant.getWechatStatus().equals(PayCst.EntryStatus.REJECTED)) {
|
||||||
|
merchant.setWechatStatus(PayCst.EntryStatus.WAIT);
|
||||||
|
}
|
||||||
if (isSave) {
|
if (isSave) {
|
||||||
result = save(merchant);
|
result = save(merchant);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user