| | |
| | | @RequestBody JSONObject reqJson) { |
| | | |
| | | Assert.hasKeyAndValue(reqJson, "partyA", "请求报文中未包含partyA"); |
| | | Assert.hasKeyAndValue(reqJson, "aContacts", "请求报文中未包含aContacts"); |
| | | Assert.hasKeyAndValue(reqJson, "aLink", "请求报文中未包含aLink"); |
| | | // Assert.hasKeyAndValue(reqJson, "aContacts", "请求报文中未包含aContacts"); |
| | | // Assert.hasKeyAndValue(reqJson, "aLink", "请求报文中未包含aLink"); |
| | | Assert.hasKeyAndValue(reqJson, "typeId", "请求报文中未包含typeId"); |
| | | |
| | | |
| | | ContractPartyaPo contractPartyaPo = BeanConvertUtil.covertBean(reqJson, ContractPartyaPo.class); |
| | | contractPartyaPo.setStoreId(storeId); |
| | | |
| | | return saveContractPartyaBMOImpl.save(contractPartyaPo); |
| | | } |
| | | |
| | |
| | | @RequestBody JSONObject reqJson) { |
| | | |
| | | Assert.hasKeyAndValue(reqJson, "partyA", "请求报文中未包含partyA"); |
| | | Assert.hasKeyAndValue(reqJson, "aContacts", "请求报文中未包含aContacts"); |
| | | Assert.hasKeyAndValue(reqJson, "aLink", "请求报文中未包含aLink"); |
| | | // Assert.hasKeyAndValue(reqJson, "aContacts", "请求报文中未包含aContacts"); |
| | | // Assert.hasKeyAndValue(reqJson, "aLink", "请求报文中未包含aLink"); |
| | | Assert.hasKeyAndValue(reqJson, "typeId", "请求报文中未包含typeId"); |
| | | Assert.hasKeyAndValue(reqJson, "partyaId", "partyaId不能为空"); |
| | | |
| | | |
| | |
| | | @RequestParam(value = "partyA", required = false) String partyA, |
| | | @RequestParam(value = "aContacts", required = false) String aContacts, |
| | | @RequestParam(value = "aLink", required = false) String aLink, |
| | | @RequestParam(value = "typeId", required = false) String typeId, |
| | | @RequestParam(value = "page") int page, |
| | | @RequestParam(value = "row") int row) { |
| | | ContractPartyaDto contractPartyaDto = new ContractPartyaDto(); |
| | |
| | | contractPartyaDto.setPartyA(partyA); |
| | | contractPartyaDto.setaContacts(aContacts); |
| | | contractPartyaDto.setaLink(aLink); |
| | | contractPartyaDto.setTypeId(typeId); |
| | | return getContractPartyaBMOImpl.get(contractPartyaDto); |
| | | } |
| | | } |