add 证书缴费表

This commit is contained in:
lijiarao
2021-12-15 13:40:15 +08:00
parent 381255e593
commit 2883588c33
2 changed files with 18 additions and 18 deletions
@@ -94,7 +94,7 @@ public class TbCertificatePaymentController extends JeroController<TbCertificate
*/
@AutoLog(value = "证书缴费表-编辑")
@ApiOperation(value="证书缴费表-编辑", notes="证书缴费表-编辑")
@PutMapping(value = "/edit")
@PostMapping(value = "/edit")
public Result<?> edit(@Validated @RequestBody TbCertificatePayment tbCertificatePayment) {
tbCertificatePaymentService.editById(tbCertificatePayment);
return Result.OK("编辑成功!");
@@ -108,7 +108,7 @@ public class TbCertificatePaymentController extends JeroController<TbCertificate
*/
@AutoLog(value = "证书缴费表-通过id删除")
@ApiOperation(value="证书缴费表-通过id删除", notes="证书缴费表-通过id删除")
@DeleteMapping(value = "/delete")
@GetMapping(value = "/delete")
public Result<?> delete(@RequestParam(name="id",required=true) String id) {
tbCertificatePaymentService.deleteById(id);
return Result.OK("删除成功!");
@@ -151,21 +151,9 @@ public class TbCertificatePaymentController extends JeroController<TbCertificate
* @param request
* @param tbCertificatePayment
*/
@RequestMapping(value = "/exportXls")
@GetMapping(value = "/exportXls")
public ModelAndView exportXls(HttpServletRequest request, TbCertificatePayment tbCertificatePayment) {
return super.exportXls(request, tbCertificatePayment, TbCertificatePayment.class, "证书缴费表");
}
/**
* 通过excel导入数据
*
* @param request
* @param response
* @return
*/
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
return super.importExcel(request, response, TbCertificatePayment.class);
}
}
@@ -75,12 +75,24 @@ public class TbCertificatePayment implements Serializable {
@ApiModelProperty(value = "缴费单号")
private String billNumber;
/**单位全称*/
@Excel(name = "单位全称", width = 15)
/**公司id*/
@ApiModelProperty(value = "公司id")
private String companyId;
@ApiModelProperty(value = "单位全称")
/**公司名称*/
@Excel(name = "公司名称", width = 15)
@ApiModelProperty(value = "公司名称")
private String companyName;
/**联系人id*/
@ApiModelProperty(value = "联系人id")
private String liaisonManId;
/**联系人*/
@Excel(name = "联系人", width = 15)
@ApiModelProperty(value = "联系人")
private String liaisonMan;
/**缴费类型*/
@Excel(name = "缴费类型", width = 15)