修改结构

This commit is contained in:
zhangqinlin
2021-09-01 11:28:45 +08:00
parent e8a71ff12a
commit 51f5311691
2 changed files with 17 additions and 17 deletions
@@ -55,7 +55,7 @@ public class PayCaseCommitteeSubitemController extends JeroController<PayCaseCom
@GetMapping(value = "/find")
public Result<?> find(@RequestParam(name="name",required =false) String name,
@RequestParam(name="companyName",required =false) String companyName,
@RequestParam(name="fenbiaoweiName",required =false) String fenbiaoweiName,
@RequestParam(name="fenbiaoweiName",required =false) String fenBiaoWeiName,
@RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize
) {
@@ -63,7 +63,7 @@ public class PayCaseCommitteeSubitemController extends JeroController<PayCaseCom
queryWrapper
.like(StringUtils.isNotBlank(name), "pt.name", name).or()
.like(StringUtils.isNotBlank(companyName), "pm.company_name", companyName)
.like(StringUtils.isNotBlank(fenbiaoweiName), "pe.name", fenbiaoweiName);
.like(StringUtils.isNotBlank(fenBiaoWeiName), "pe.name", fenBiaoWeiName);
Page<PayCaseCommitteeSubitem> page = new Page<>(pageNo, pageSize);
IPage<FindByName> pageList = payCaseCommitteeSubitemMapper.list(page,queryWrapper);
return Result.OK(pageList);
@@ -21,12 +21,12 @@ import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
/**
* @Description: pay_mail_bill
* @Description: 票据邮寄
* @Author: jeecg-boot
* @Date: 2021-08-31
* @Version: V1.0
*/
@Api(tags="pay_mail_bill")
@Api(tags="票据邮寄")
@RestController
@RequestMapping("/mailBill/payMailBill")
@Slf4j
@@ -43,8 +43,8 @@ public class PayMailBillController extends JeroController<PayMailBill, IPayMailB
* @param req
* @return
*/
@AutoLog(value = "pay_mail_bill-分页列表查询")
@ApiOperation(value="pay_mail_bill-分页列表查询", notes="pay_mail_bill-分页列表查询")
@AutoLog(value = "票据邮寄-分页列表查询")
@ApiOperation(value="票据邮寄-分页列表查询", notes="票据邮寄-分页列表查询")
@GetMapping(value = "/list")
public Result<?> queryPageList(PayMailBill payMailBill,
@RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
@@ -62,8 +62,8 @@ public class PayMailBillController extends JeroController<PayMailBill, IPayMailB
* @param payMailBill
* @return
*/
@AutoLog(value = "pay_mail_bill-添加")
@ApiOperation(value="pay_mail_bill-添加", notes="pay_mail_bill-添加")
@AutoLog(value = "票据邮寄-添加")
@ApiOperation(value="票据邮寄-添加", notes="票据邮寄-添加")
@PostMapping(value = "/add")
public Result<?> add(@RequestBody PayMailBill payMailBill) {
payMailBillService.save(payMailBill);
@@ -76,8 +76,8 @@ public class PayMailBillController extends JeroController<PayMailBill, IPayMailB
* @param payMailBill
* @return
*/
@AutoLog(value = "pay_mail_bill-编辑")
@ApiOperation(value="pay_mail_bill-编辑", notes="pay_mail_bill-编辑")
@AutoLog(value = "票据邮寄-编辑")
@ApiOperation(value="票据邮寄-编辑", notes="票据邮寄-编辑")
@PutMapping(value = "/edit")
public Result<?> edit(@RequestBody PayMailBill payMailBill) {
payMailBillService.updateById(payMailBill);
@@ -90,8 +90,8 @@ public class PayMailBillController extends JeroController<PayMailBill, IPayMailB
* @param id
* @return
*/
@AutoLog(value = "pay_mail_bill-通过id删除")
@ApiOperation(value="pay_mail_bill-通过id删除", notes="pay_mail_bill-通过id删除")
@AutoLog(value = "票据邮寄-通过id删除")
@ApiOperation(value="票据邮寄-通过id删除", notes="票据邮寄-通过id删除")
@DeleteMapping(value = "/delete")
public Result<?> delete(@RequestParam(name="id",required=true) String id) {
payMailBillService.removeById(id);
@@ -104,8 +104,8 @@ public class PayMailBillController extends JeroController<PayMailBill, IPayMailB
* @param ids
* @return
*/
@AutoLog(value = "pay_mail_bill-批量删除")
@ApiOperation(value="pay_mail_bill-批量删除", notes="pay_mail_bill-批量删除")
@AutoLog(value = "票据邮寄-批量删除")
@ApiOperation(value="票据邮寄-批量删除", notes="票据邮寄-批量删除")
@DeleteMapping(value = "/deleteBatch")
public Result<?> deleteBatch(@RequestParam(name="ids",required=true) String ids) {
this.payMailBillService.removeByIds(Arrays.asList(ids.split(",")));
@@ -118,8 +118,8 @@ public class PayMailBillController extends JeroController<PayMailBill, IPayMailB
* @param id
* @return
*/
@AutoLog(value = "pay_mail_bill-通过id查询")
@ApiOperation(value="pay_mail_bill-通过id查询", notes="pay_mail_bill-通过id查询")
@AutoLog(value = "票据邮寄-通过id查询")
@ApiOperation(value="票据邮寄-通过id查询", notes="票据邮寄-通过id查询")
@GetMapping(value = "/queryById")
public Result<?> queryById(@RequestParam(name="id",required=true) String id) {
PayMailBill payMailBill = payMailBillService.getById(id);
@@ -137,7 +137,7 @@ public class PayMailBillController extends JeroController<PayMailBill, IPayMailB
*/
@RequestMapping(value = "/exportXls")
public ModelAndView exportXls(HttpServletRequest request, PayMailBill payMailBill) {
return super.exportXls(request, payMailBill, PayMailBill.class, "pay_mail_bill");
return super.exportXls(request, payMailBill, PayMailBill.class, "票据邮寄");
}
/**