提交代码

dev-discount
胡锐 3 years ago
parent ce2bd83e61
commit 5ad75a91ca
  1. 2
      hai-cweb/src/main/java/com/cweb/controller/pay/OrderController.java
  2. 4
      hai-service/src/main/java/com/hai/entity/HighOrder.java

@ -229,8 +229,6 @@ public class OrderController {
if (merTripartitePlatform != null) { if (merTripartitePlatform != null) {
weChatPayReqInfo.setSub_mch_id(merTripartitePlatform.getPlatformMerNumber()); weChatPayReqInfo.setSub_mch_id(merTripartitePlatform.getPlatformMerNumber());
if (merTripartitePlatform.getProfitSharingRatio().compareTo(new BigDecimal("0")) == 1) { if (merTripartitePlatform.getProfitSharingRatio().compareTo(new BigDecimal("0")) == 1) {
profitSharing = "N";
} else {
profitSharing = merTripartitePlatform.getProfitSharingStatus().equals(true)?"Y":"N"; profitSharing = merTripartitePlatform.getProfitSharingStatus().equals(true)?"Y":"N";
} }
} }

@ -208,11 +208,11 @@ public class HighOrder implements Serializable {
this.highDiscount = highDiscount; this.highDiscount = highDiscount;
} }
public Boolean getTyAgent() { public Boolean getIsTyAgent() {
return isTyAgent; return isTyAgent;
} }
public void setTyAgent(Boolean tyAgent) { public void setIsTyAgent(Boolean tyAgent) {
isTyAgent = tyAgent; isTyAgent = tyAgent;
} }

Loading…
Cancel
Save