| @@ -17,6 +17,9 @@ import org.springframework.web.bind.annotation.*; | |||||
| import java.util.List; | import java.util.List; | ||||
| /** | |||||
| * @author gongbiao | |||||
| */ | |||||
| @RestController | @RestController | ||||
| @RequestMapping("wxMerchant") | @RequestMapping("wxMerchant") | ||||
| public class WxMerchantController extends BaseController { | public class WxMerchantController extends BaseController { | ||||
| @@ -77,8 +80,7 @@ public class WxMerchantController extends BaseController { | |||||
| @GetMapping("/findById") | @GetMapping("/findById") | ||||
| @ApiImplicitParam(name = "id", value = "id", dataType = "Long", paramType = "query", required = true) | @ApiImplicitParam(name = "id", value = "id", dataType = "Long", paramType = "query", required = true) | ||||
| public ResultData findById(Long id) { | public ResultData findById(Long id) { | ||||
| WxMerchant wxMerchant = new WxMerchant(); | |||||
| wxMerchant = wxMerchantService.getById(id); | |||||
| WxMerchant wxMerchant = wxMerchantService.getById(id); | |||||
| if (wxMerchant != null) { | if (wxMerchant != null) { | ||||
| WxProfitSharingReceiver receiver = wxProfitSharingReceiverService.findReceiver(wxMerchant); | WxProfitSharingReceiver receiver = wxProfitSharingReceiverService.findReceiver(wxMerchant); | ||||
| if (receiver != null){ | if (receiver != null){ | ||||
| @@ -36,8 +36,9 @@ public class WxBillProperty implements Serializable { | |||||
| public void setIds(List<Long> ids) { | public void setIds(List<Long> ids) { | ||||
| this.ids = ids; | this.ids = ids; | ||||
| } | } | ||||
| @Transient | |||||
| private String merchantName; | |||||
| /*租金合同ID**/ | /*租金合同ID**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="租金合同ID",name="rentContractId") | @io.swagger.annotations.ApiModelProperty(value="租金合同ID",name="rentContractId") | ||||
| @@ -184,7 +185,13 @@ public class WxBillProperty implements Serializable { | |||||
| updatetime = _updatetime; | updatetime = _updatetime; | ||||
| } | } | ||||
| public String getMerchantName() { | |||||
| return merchantName; | |||||
| } | |||||
| public void setMerchantName(String merchantName) { | |||||
| this.merchantName = merchantName; | |||||
| } | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||
| @@ -36,8 +36,9 @@ public class WxBillPropertyDeposit implements Serializable { | |||||
| public void setIds(List<Long> ids) { | public void setIds(List<Long> ids) { | ||||
| this.ids = ids; | this.ids = ids; | ||||
| } | } | ||||
| @Transient | |||||
| private String merchantName; | |||||
| /*租金合同ID**/ | /*租金合同ID**/ | ||||
| @io.swagger.annotations.ApiModelProperty(value="租金合同ID",name="rentContractId") | @io.swagger.annotations.ApiModelProperty(value="租金合同ID",name="rentContractId") | ||||
| @@ -184,7 +185,13 @@ public class WxBillPropertyDeposit implements Serializable { | |||||
| updatetime = _updatetime; | updatetime = _updatetime; | ||||
| } | } | ||||
| public String getMerchantName() { | |||||
| return merchantName; | |||||
| } | |||||
| public void setMerchantName(String merchantName) { | |||||
| this.merchantName = merchantName; | |||||
| } | |||||
| public static enum Field | public static enum Field | ||||
| { | { | ||||