|
|
|
@ -5,9 +5,11 @@ import au.com.royalpay.payment.manage.settlement.core.ManualSettleSupport;
|
|
|
|
|
import au.com.royalpay.payment.manage.system.core.ClientContractService;
|
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
|
import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
|
|
|
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
@ -23,8 +25,13 @@ public class contractController {
|
|
|
|
|
private ManualSettleSupport manualSettleSupport;
|
|
|
|
|
|
|
|
|
|
@ManagerMapping(value = "/contract/list", method = RequestMethod.GET)
|
|
|
|
|
public List<JSONObject> contractList() {
|
|
|
|
|
return clientContractService.list();
|
|
|
|
|
public JSONObject contractList(@RequestParam(value = "page", defaultValue = "1") int page, @RequestParam(value = "limit", defaultValue = "10") int limit) {
|
|
|
|
|
return clientContractService.list(new PageBounds(page,limit));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ManagerMapping(value = "/contract", method = RequestMethod.GET)
|
|
|
|
|
public JSONObject contractAnalysis() {
|
|
|
|
|
return clientContractService.analysis();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ManagerMapping(value = "/manualSettle/list", method = RequestMethod.GET)
|
|
|
|
|