- 新增其他收支实体类WmsOtherIncome及其相关VO、BO类 - 实现其他收支的增删改查接口IWmsOtherIncomeService - 添加其他收支控制器WmsOtherIncomeController支持RESTful请求 - 配置MyBatis映射文件及Mapper接口支持数据库操作 - 在应付和应收业务中增加时间范围筛选字段和逻辑
70 lines
1.4 KiB
Java
70 lines
1.4 KiB
Java
package com.klp.domain.vo;
|
||
|
||
import java.math.BigDecimal;
|
||
import java.util.Date;
|
||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
||
import com.alibaba.excel.annotation.ExcelProperty;
|
||
import com.klp.common.annotation.ExcelDictFormat;
|
||
import com.klp.common.convert.ExcelDictConvert;
|
||
import lombok.Data;
|
||
|
||
|
||
/**
|
||
* 其他收支视图对象 wms_other_income
|
||
*
|
||
* @author Joshi
|
||
* @date 2025-09-26
|
||
*/
|
||
@Data
|
||
@ExcelIgnoreUnannotated
|
||
public class WmsOtherIncomeVo {
|
||
|
||
private static final long serialVersionUID = 1L;
|
||
|
||
/**
|
||
* 其他收入ID(主键)
|
||
*/
|
||
@ExcelProperty(value = "其他收入ID", converter = ExcelDictConvert.class)
|
||
@ExcelDictFormat(readConverterExp = "主=键")
|
||
private Long otherIncomeId;
|
||
|
||
/**
|
||
* 日期
|
||
*/
|
||
@ExcelProperty(value = "日期")
|
||
private Date incomeDate;
|
||
|
||
/**
|
||
* 类型
|
||
*/
|
||
@ExcelProperty(value = "类型")
|
||
private String incomeType;
|
||
|
||
/**
|
||
* 金额
|
||
*/
|
||
@ExcelProperty(value = "金额")
|
||
private BigDecimal amount;
|
||
|
||
/**
|
||
* 来源
|
||
*/
|
||
@ExcelProperty(value = "来源")
|
||
private String source;
|
||
|
||
/**
|
||
* 收支类型(0=收入,1=值出)
|
||
*/
|
||
@ExcelProperty(value = "收支类型(0=收入,1=值出)")
|
||
private Long type;
|
||
|
||
/**
|
||
* 备注
|
||
*/
|
||
@ExcelProperty(value = "备注")
|
||
private String remark;
|
||
|
||
|
||
}
|