| | |
| | | package com.java110.store.api; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.dto.contractPartya.ContractPartyaDto; |
| | | import com.java110.dto.contract.ContractPartyaDto; |
| | | import com.java110.po.contractPartya.ContractPartyaPo; |
| | | import com.java110.store.bmo.contractPartya.IDeleteContractPartyaBMO; |
| | | import com.java110.store.bmo.contractPartya.IGetContractPartyaBMO; |
| | |
| | | */ |
| | | @RequestMapping(value = "/queryContractPartya", method = RequestMethod.GET) |
| | | public ResponseEntity<String> queryContractPartya(@RequestHeader(value = "store-id") String storeId, |
| | | @RequestParam(value = "partyA", required = false) String partyA, |
| | | @RequestParam(value = "aContacts", required = false) String aContacts, |
| | | @RequestParam(value = "aLink", required = false) String aLink, |
| | | @RequestParam(value = "page") int page, |
| | | @RequestParam(value = "row") int row) { |
| | | ContractPartyaDto contractPartyaDto = new ContractPartyaDto(); |
| | | contractPartyaDto.setPage(page); |
| | | contractPartyaDto.setRow(row); |
| | | contractPartyaDto.setStoreId(storeId); |
| | | contractPartyaDto.setPartyA(partyA); |
| | | contractPartyaDto.setaContacts(aContacts); |
| | | contractPartyaDto.setaLink(aLink); |
| | | return getContractPartyaBMOImpl.get(contractPartyaDto); |
| | | } |
| | | } |