|
@@ -1,10 +1,18 @@
|
|
package com.management.platform.controller;
|
|
package com.management.platform.controller;
|
|
|
|
|
|
|
|
|
|
|
|
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
|
+import com.management.platform.entity.ContractPayCustomized;
|
|
|
|
+import com.management.platform.service.ContractPayCustomizedService;
|
|
|
|
+import com.management.platform.util.HttpRespMsg;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
+import javax.annotation.Resource;
|
|
|
|
+import javax.servlet.http.HttpServletRequest;
|
|
|
|
+import java.util.List;
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* <p>
|
|
* <p>
|
|
* 前端控制器
|
|
* 前端控制器
|
|
@@ -16,6 +24,16 @@ import org.springframework.web.bind.annotation.RestController;
|
|
@RestController
|
|
@RestController
|
|
@RequestMapping("/contract-pay-customized")
|
|
@RequestMapping("/contract-pay-customized")
|
|
public class ContractPayCustomizedController {
|
|
public class ContractPayCustomizedController {
|
|
|
|
+ @Resource
|
|
|
|
+ private ContractPayCustomizedService contractPayCustomizedService;
|
|
|
|
+
|
|
|
|
+ @RequestMapping("/getStampDutyTimeNullList")
|
|
|
|
+ public HttpRespMsg getStampDutyTimeNullList(Integer contractId,HttpServletRequest request) {
|
|
|
|
+ HttpRespMsg httpRespMsg = new HttpRespMsg();
|
|
|
|
+ List<ContractPayCustomized> list = contractPayCustomizedService.list(new QueryWrapper<ContractPayCustomized>().eq("contract_id", contractId).isNotNull("stamp_duty_time"));
|
|
|
|
+ httpRespMsg.setData(list);
|
|
|
|
+ return httpRespMsg;
|
|
|
|
+ }
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|