xuhy
2025-02-10 b41dd542555161df347a47722bfc39b8355392c3
小程序账单
1个文件已修改
1个文件已添加
48 ■■■■■ 已修改文件
ruoyi-applet/src/main/java/com/ruoyi/web/controller/api/TBillController.java 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-system/src/main/java/com/ruoyi/system/query/TBillQuery.java 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-applet/src/main/java/com/ruoyi/web/controller/api/TBillController.java
@@ -1,6 +1,18 @@
package com.ruoyi.web.controller.api;
import com.ruoyi.common.basic.PageInfo;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.query.TBillQuery;
import com.ruoyi.system.query.TTenantQuery;
import com.ruoyi.system.service.TBillService;
import com.ruoyi.system.vo.TenantVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@@ -12,9 +24,28 @@
 * @author xiaochen
 * @since 2025-01-17
 */
@Api(tags = "租金账单管理")
@RestController
@RequestMapping("/t-bill")
public class TBillController {
    private final TBillService billService;
    @Autowired
    public TBillController(TBillService billService) {
        this.billService = billService;
    }
    /**
     * 获取账单列表
     */
//    @ApiOperation(value = "获取账单列表")
//    @PostMapping(value = "/pageList")
//    public R<PageInfo<TBillVO>> pageList(@RequestBody TBillQuery query) {
//        return R.ok(billService.pageList(query));
//    }
}
ruoyi-system/src/main/java/com/ruoyi/system/query/TBillQuery.java
New file
@@ -0,0 +1,17 @@
package com.ruoyi.system.query;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.BasePage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@Data
@ApiModel(value = "账单查询对象query")
public class TBillQuery extends BasePage {
    @ApiModelProperty(value = "缴费状态 1=未缴费 2=待确认 3=已缴费 4=已逾期 5=已失效")
    @TableField("pay_fees_status")
    private String payFeesStatus;
}