Commit fc135df1 by jianshuqin

新增体系,内部备注,内部分类

parent 67d7f696
...@@ -32,6 +32,8 @@ public class CostDetailDto { ...@@ -32,6 +32,8 @@ public class CostDetailDto {
private String typeNo; private String typeNo;
@ApiModelProperty("类型标题") @ApiModelProperty("类型标题")
private String typeName; private String typeName;
@ApiModelProperty("内部分类")
private String typeInnerName;
@ApiModelProperty("类型类别") @ApiModelProperty("类型类别")
private String categoryName; private String categoryName;
@ApiModelProperty("会计一级科目") @ApiModelProperty("会计一级科目")
......
...@@ -21,6 +21,8 @@ public class CostDto { ...@@ -21,6 +21,8 @@ public class CostDto {
private String costNo; private String costNo;
@ApiModelProperty("费用计划编号") @ApiModelProperty("费用计划编号")
private String costPlanNo; private String costPlanNo;
@ApiModelProperty("体系")
private String companySystem;
@ApiModelProperty("主体编号") @ApiModelProperty("主体编号")
private String companyNo; private String companyNo;
@ApiModelProperty("主体名称") @ApiModelProperty("主体名称")
...@@ -32,6 +34,8 @@ public class CostDto { ...@@ -32,6 +34,8 @@ public class CostDto {
private String typeNo; private String typeNo;
@ApiModelProperty("类型标题") @ApiModelProperty("类型标题")
private String typeName; private String typeName;
@ApiModelProperty("内部分类")
private String typeInnerName;
@ApiModelProperty("类型类别") @ApiModelProperty("类型类别")
private String categoryName; private String categoryName;
@ApiModelProperty("费用类型描述") @ApiModelProperty("费用类型描述")
...@@ -53,6 +57,8 @@ public class CostDto { ...@@ -53,6 +57,8 @@ public class CostDto {
private String createUsername; private String createUsername;
@ApiModelProperty("费用单备注") @ApiModelProperty("费用单备注")
private String costRemark; private String costRemark;
@ApiModelProperty("内部备注")
private String innerRemark;
@ApiModelProperty("创建时间") @ApiModelProperty("创建时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
......
...@@ -10,15 +10,18 @@ import java.util.Date; ...@@ -10,15 +10,18 @@ import java.util.Date;
public class CostPlanDto { public class CostPlanDto {
private Integer id; // 费用单表 id private Integer id; // 费用单表 id
private String costPlanNo; // 费用计划编号 private String costPlanNo; // 费用计划编号
private String companySystem; // 体系
private String companyNo; // 主体编号 private String companyNo; // 主体编号
private String companyName; // 主体名称 private String companyName; // 主体名称
private String typeNo; // 类型编号 private String typeNo; // 类型编号
private String typeName; // 类型标题 private String typeName; // 类型标题
private String typeInnerName; // 内部类型
private Integer createUserid; // 创建人 id private Integer createUserid; // 创建人 id
private String createUsercode; // 创建人编号 private String createUsercode; // 创建人编号
private String createUsername; // 创建人名称 private String createUsername; // 创建人名称
private String costRemark; // 费用单备注 private String costRemark; // 费用单备注
private String innerRemark; // 内部备注
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createTime; // 创建时间 private Date createTime; // 创建时间
private String sonCostNo; // 关联子单 private String sonCostNo; // 关联子单
......
...@@ -21,6 +21,7 @@ public class CostPlanTempDto { ...@@ -21,6 +21,7 @@ public class CostPlanTempDto {
private String typeNo; // 大类编号 private String typeNo; // 大类编号
private String typeNameDto; // 大类标题 private String typeNameDto; // 大类标题
private String typeInnerName; // 内部分类
private String dic; // 币种 private String dic; // 币种
private String project; // 所属项目 private String project; // 所属项目
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
......
...@@ -33,6 +33,8 @@ public class CostPlanDomain implements Serializable { ...@@ -33,6 +33,8 @@ public class CostPlanDomain implements Serializable {
@ApiModelProperty("0 不抵扣个税 1 抵扣个税") @ApiModelProperty("0 不抵扣个税 1 抵扣个税")
private Integer isTax; private Integer isTax;
@ApiModelProperty("体系")
private String companySystem;
@ApiModelProperty("公司主体value") @ApiModelProperty("公司主体value")
private Integer companyValue; private Integer companyValue;
@ApiModelProperty("主体编号") @ApiModelProperty("主体编号")
...@@ -51,6 +53,8 @@ public class CostPlanDomain implements Serializable { ...@@ -51,6 +53,8 @@ public class CostPlanDomain implements Serializable {
// @TableField(exist = false) // @TableField(exist = false)
@ApiModelProperty("类型标题") @ApiModelProperty("类型标题")
private String typeName; private String typeName;
@ApiModelProperty("内部分类")
private String typeInnerName;
@TableField(exist = false) @TableField(exist = false)
...@@ -76,6 +80,8 @@ public class CostPlanDomain implements Serializable { ...@@ -76,6 +80,8 @@ public class CostPlanDomain implements Serializable {
private String costReason; private String costReason;
@ApiModelProperty("费用单备注") @ApiModelProperty("费用单备注")
private String costRemark; private String costRemark;
@ApiModelProperty("内部备注")
private String innerRemark;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@ApiModelProperty("创建时间") @ApiModelProperty("创建时间")
......
...@@ -48,6 +48,8 @@ public class CostPlanTempDomain { ...@@ -48,6 +48,8 @@ public class CostPlanTempDomain {
// @TableField(exist = false) // @TableField(exist = false)
@ApiModelProperty("类型标题") @ApiModelProperty("类型标题")
private String typeName; private String typeName;
@ApiModelProperty("内部分类")
private String typeInnerName;
@TableField(exist = false) @TableField(exist = false)
......
...@@ -41,6 +41,8 @@ public class CostTypeDomain { ...@@ -41,6 +41,8 @@ public class CostTypeDomain {
@ApiModelProperty("费用类型标题") @ApiModelProperty("费用类型标题")
private String typeName; private String typeName;
@ApiModelProperty("内部分类")
private String typeInnerName;
private Integer accountingSubjectId; private Integer accountingSubjectId;
......
...@@ -43,6 +43,9 @@ public class AddItemReq { ...@@ -43,6 +43,9 @@ public class AddItemReq {
@ApiModelProperty("费用类型编号") @ApiModelProperty("费用类型编号")
private String typeNo; // 大类编号 private String typeNo; // 大类编号
@ApiModelProperty("内部分类")
private String typeInnerName; // 内部分类
@ApiModelProperty("所属项目") @ApiModelProperty("所属项目")
private String project; // 所属项目 private String project; // 所属项目
......
...@@ -88,6 +88,7 @@ public class CostPlanTempServiceImpl implements CostPlanTempService { ...@@ -88,6 +88,7 @@ public class CostPlanTempServiceImpl implements CostPlanTempService {
costPlanTempDomain.setTypeId(costTypeDomain.getId()); costPlanTempDomain.setTypeId(costTypeDomain.getId());
costPlanTempDomain.setTypeNo(costTypeDomain.getTypeNo()); costPlanTempDomain.setTypeNo(costTypeDomain.getTypeNo());
costPlanTempDomain.setTypeName(costTypeDomain.getTypeName()); costPlanTempDomain.setTypeName(costTypeDomain.getTypeName());
costPlanTempDomain.setTypeInnerName(costTypeDomain.getTypeInnerName());
AccountingSubject accountingSubject = accountingSubjectMapper.selectById(costTypeDomain.getAccountingSubjectId()); AccountingSubject accountingSubject = accountingSubjectMapper.selectById(costTypeDomain.getAccountingSubjectId());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment