Преглед изворни кода

销售收入上缴-初始化

hanqingsong пре 4 месеци
родитељ
комит
f02e83b8ab
72 измењених фајлова са 1748 додато и 288 уклоњено
  1. 5 21
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/controller/FsSaleRevenueController.java
  2. 37 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/entity/BusinessContractDetail.java
  3. 109 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/entity/FsSaleRevenue.java
  4. 1 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/enums/FsSaleRevenueEnum.java
  5. 5 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/mapper/FsSaleRevenueMapper.java
  6. 19 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/mapper/mapping/FsSaleRevenueMapper.xml
  7. 45 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/param/FsSaleRevenueAddParam.java
  8. 50 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/param/FsSaleRevenueEditParam.java
  9. 4 4
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/param/FsSaleRevenueIdParam.java
  10. 5 3
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/param/FsSaleRevenuePageParam.java
  11. 7 15
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/service/FsSaleRevenueService.java
  12. 19 11
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/service/impl/FsSaleRevenueServiceImpl.java
  13. 32 18
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/controller/FsSaleRevenueApprovalPriceController.java
  14. 65 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/entity/FsSaleRevenueApprovalPrice.java
  15. 1 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/enums/FsSaleRevenueApprovalPriceEnum.java
  16. 1 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/mapper/FsSaleRevenueApprovalPriceMapper.java
  17. 37 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/param/FsSaleRevenueApprovalPriceAddParam.java
  18. 42 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/param/FsSaleRevenueApprovalPriceEditParam.java
  19. 4 4
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/param/FsSaleRevenueApprovalPriceIdParam.java
  20. 1 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/param/FsSaleRevenueApprovalPricePageParam.java
  21. 8 8
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/service/FsSaleRevenueApprovalPriceService.java
  22. 5 2
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/service/impl/FsSaleRevenueApprovalPriceServiceImpl.java
  23. 32 18
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/controller/FsSaleRevenueDiffPriceController.java
  24. 45 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/entity/FsSaleRevenueDiffPrice.java
  25. 1 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/enums/FsSaleRevenueDiffPriceEnum.java
  26. 1 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/mapper/FsSaleRevenueDiffPriceMapper.java
  27. 41 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/param/FsSaleRevenueDiffPriceAddParam.java
  28. 46 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/param/FsSaleRevenueDiffPriceEditParam.java
  29. 4 4
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/param/FsSaleRevenueDiffPriceIdParam.java
  30. 1 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/param/FsSaleRevenueDiffPricePageParam.java
  31. 8 8
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/service/FsSaleRevenueDiffPriceService.java
  32. 5 2
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/service/impl/FsSaleRevenueDiffPriceServiceImpl.java
  33. 32 18
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/controller/FsSaleRevenueInspectionLossController.java
  34. 98 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/entity/FsSaleRevenueInspectionLoss.java
  35. 1 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/enums/FsSaleRevenueInspectionLossEnum.java
  36. 1 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/mapper/FsSaleRevenueInspectionLossMapper.java
  37. 33 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/param/FsSaleRevenueInspectionLossAddParam.java
  38. 38 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/param/FsSaleRevenueInspectionLossEditParam.java
  39. 4 4
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/param/FsSaleRevenueInspectionLossIdParam.java
  40. 1 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/param/FsSaleRevenueInspectionLossPageParam.java
  41. 8 8
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/service/FsSaleRevenueInspectionLossService.java
  42. 5 2
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/service/impl/FsSaleRevenueInspectionLossServiceImpl.java
  43. 32 18
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/controller/FsSaleRevenueSettleController.java
  44. 86 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/entity/FsSaleRevenueSettle.java
  45. 1 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/enums/FsSaleRevenueSettleEnum.java
  46. 1 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/mapper/FsSaleRevenueSettleMapper.java
  47. 73 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/param/FsSaleRevenueSettleAddParam.java
  48. 78 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/param/FsSaleRevenueSettleEditParam.java
  49. 4 4
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/param/FsSaleRevenueSettleIdParam.java
  50. 1 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/param/FsSaleRevenueSettlePageParam.java
  51. 8 8
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/service/FsSaleRevenueSettleService.java
  52. 5 2
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/service/impl/FsSaleRevenueSettleServiceImpl.java
  53. 32 18
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/controller/FsSaleRevenueThreeConsistenceController.java
  54. 105 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/entity/FsSaleRevenueThreeConsistence.java
  55. 1 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/enums/FsSaleRevenueThreeConsistenceEnum.java
  56. 1 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/mapper/FsSaleRevenueThreeConsistenceMapper.java
  57. 93 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/param/FsSaleRevenueThreeConsistenceAddParam.java
  58. 98 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/param/FsSaleRevenueThreeConsistenceEditParam.java
  59. 4 4
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/param/FsSaleRevenueThreeConsistenceIdParam.java
  60. 1 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/param/FsSaleRevenueThreeConsistencePageParam.java
  61. 8 8
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/service/FsSaleRevenueThreeConsistenceService.java
  62. 5 2
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/service/impl/FsSaleRevenueThreeConsistenceServiceImpl.java
  63. 32 18
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/controller/FsSaleRevenueThreeConsistenceAccountController.java
  64. 57 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/entity/FsSaleRevenueThreeConsistenceAccount.java
  65. 1 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/enums/FsSaleRevenueThreeConsistenceAccountEnum.java
  66. 1 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/mapper/FsSaleRevenueThreeConsistenceAccountMapper.java
  67. 45 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/param/FsSaleRevenueThreeConsistenceAccountAddParam.java
  68. 50 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/param/FsSaleRevenueThreeConsistenceAccountEditParam.java
  69. 4 4
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/param/FsSaleRevenueThreeConsistenceAccountIdParam.java
  70. 1 1
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/param/FsSaleRevenueThreeConsistenceAccountPageParam.java
  71. 8 8
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/service/FsSaleRevenueThreeConsistenceAccountService.java
  72. 5 2
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/service/impl/FsSaleRevenueThreeConsistenceAccountServiceImpl.java

+ 5 - 21
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/controller/FsSaleRevenueController.java

@@ -41,7 +41,7 @@ import javax.validation.constraints.NotEmpty;
41 41
  * 销售收入上缴控制器
42 42
  *
43 43
  * @author QSHan
44
- * @date  2024/07/26 16:30
44
+ * @date  2024/07/29 14:04
45 45
  */
46 46
 @Api(tags = "销售收入上缴控制器")
47 47
 @ApiSupport(author = "UNIS_TEAM", order = 1)
@@ -56,7 +56,7 @@ public class FsSaleRevenueController {
56 56
      * 获取销售收入上缴分页
57 57
      *
58 58
      * @author QSHan
59
-     * @date  2024/07/26 16:30
59
+     * @date  2024/07/29 14:04
60 60
      */
61 61
     @ApiOperationSupport(order = 1)
62 62
     @ApiOperation("获取销售收入上缴分页")
@@ -67,26 +67,10 @@ public class FsSaleRevenueController {
67 67
     }
68 68
 
69 69
     /**
70
-     * 添加销售收入上缴
71
-     *
72
-     * @author QSHan
73
-     * @date  2024/07/26 16:30
74
-     */
75
-    @ApiOperationSupport(order = 2)
76
-    @ApiOperation("添加销售收入上缴")
77
-    @CommonLog("添加销售收入上缴")
78
-    @SaCheckPermission("/financialSupervision/fsSaleRevenue/add")
79
-    @PostMapping("/financialSupervision/fsSaleRevenue/add")
80
-    public CommonResult<String> add(@RequestBody @Valid FsSaleRevenueAddParam fsSaleRevenueAddParam) {
81
-        fsSaleRevenueService.add(fsSaleRevenueAddParam);
82
-        return CommonResult.ok();
83
-    }
84
-
85
-    /**
86 70
      * 编辑销售收入上缴
87 71
      *
88 72
      * @author QSHan
89
-     * @date  2024/07/26 16:30
73
+     * @date  2024/07/29 14:04
90 74
      */
91 75
     @ApiOperationSupport(order = 3)
92 76
     @ApiOperation("编辑销售收入上缴")
@@ -102,7 +86,7 @@ public class FsSaleRevenueController {
102 86
      * 删除销售收入上缴
103 87
      *
104 88
      * @author QSHan
105
-     * @date  2024/07/26 16:30
89
+     * @date  2024/07/29 14:04
106 90
      */
107 91
     @ApiOperationSupport(order = 4)
108 92
     @ApiOperation("删除销售收入上缴")
@@ -119,7 +103,7 @@ public class FsSaleRevenueController {
119 103
      * 获取销售收入上缴详情
120 104
      *
121 105
      * @author QSHan
122
-     * @date  2024/07/26 16:30
106
+     * @date  2024/07/29 14:04
123 107
      */
124 108
     @ApiOperationSupport(order = 5)
125 109
     @ApiOperation("获取销售收入上缴详情")

+ 37 - 0
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/entity/BusinessContractDetail.java

@@ -0,0 +1,37 @@
1
+package com.unis.financialSupervision.modular.fsSaleRevenue.entity;
2
+
3
+import io.swagger.annotations.ApiModelProperty;
4
+import lombok.Data;
5
+
6
+/**
7
+ * @author qingsong.han
8
+ * @description:
9
+ * @create 2024-07-04 10:39
10
+ */
11
+@Data
12
+public class BusinessContractDetail {
13
+
14
+    @ApiModelProperty(value = "主键ID")
15
+    private Integer id;
16
+
17
+    @ApiModelProperty(value = "仓房名称(销售收入上缴)")
18
+    private String houseName;
19
+
20
+    @ApiModelProperty(value = "货位名称(销售收入上缴)")
21
+    private String warehouseName;
22
+
23
+    @ApiModelProperty(value = "粮油品种编码")
24
+    private String grainKind;
25
+
26
+    @ApiModelProperty(value = "粮油品种名称")
27
+    private String grainKindName;
28
+
29
+    @ApiModelProperty(value = "数量")
30
+    private String inCount;
31
+
32
+    @ApiModelProperty(value = "单价")
33
+    private String inPrice;
34
+
35
+    @ApiModelProperty(value = "金额")
36
+    private String inDetailTotalPrice;
37
+}

+ 109 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/entity/FsSaleRevenue.java

@@ -13,21 +13,129 @@
13 13
 package com.unis.financialSupervision.modular.fsSaleRevenue.entity;
14 14
 
15 15
 import com.baomidou.mybatisplus.annotation.*;
16
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.entity.FsSaleRevenueApprovalPrice;
17
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.entity.FsSaleRevenueDiffPrice;
18
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.entity.FsSaleRevenueInspectionLoss;
19
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.entity.FsSaleRevenueSettle;
20
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.entity.FsSaleRevenueThreeConsistence;
21
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.entity.FsSaleRevenueThreeConsistenceAccount;
16 22
 import io.swagger.annotations.ApiModelProperty;
17 23
 import lombok.Getter;
18 24
 import lombok.Setter;
19 25
 import java.math.BigDecimal;
20 26
 import java.util.Date;
27
+import java.util.List;
21 28
 
22 29
 /**
23 30
  * 销售收入上缴实体
24 31
  *
25 32
  * @author QSHan
26
- * @date  2024/07/26 16:30
33
+ * @date  2024/07/29 14:04
27 34
  **/
28 35
 @Getter
29 36
 @Setter
30 37
 @TableName("business_fs_sale_revenue")
31 38
 public class FsSaleRevenue {
32 39
 
40
+    /** 主键ID */
41
+    @TableId
42
+    @ApiModelProperty(value = "主键ID", position = 1)
43
+    private Integer id;
44
+
45
+    /** 创建人 */
46
+    @ApiModelProperty(value = "创建人", position = 2)
47
+    private String createname;
48
+
49
+    /** 创建日期 */
50
+    @ApiModelProperty(value = "创建日期", position = 3)
51
+    private Date createdate;
52
+
53
+    /** 更新人 */
54
+    @ApiModelProperty(value = "更新人", position = 4)
55
+    private String updatename;
56
+
57
+    /** 更新日期 */
58
+    @ApiModelProperty(value = "更新日期(核定时间)", position = 5)
59
+    private Date updatedate;
60
+
61
+    /** 上报库区;org_info的id; */
62
+    @ApiModelProperty(value = "上报库区;org_info的id;", position = 6)
63
+    private Integer orgId;
64
+
65
+    /** 上报时间 */
66
+    @ApiModelProperty(value = "上报时间", position = 7)
67
+    private Date reportTime;
68
+
69
+    /** 计划类型 */
70
+    @ApiModelProperty(value = "计划类型", position = 8)
71
+    private String planType;
72
+
73
+    /** 销往单位 */
74
+    @ApiModelProperty(value = "销往单位", position = 9)
75
+    private String salesUnit;
76
+
77
+    /** 合同编号;business_contract的ID; */
78
+    @ApiModelProperty(value = "合同编号;business_contract的ID;", position = 10)
79
+    private Integer contractId;
80
+
81
+    /** 问题跟踪反馈 */
82
+    @ApiModelProperty(value = "问题跟踪反馈", position = 11)
83
+    private String problemFeedback;
84
+
85
+    /** 状态 0:保存;1:库级系统-上报;2:已核定;3:省级平台-上报; */
86
+    @ApiModelProperty(value = "状态 0:保存;1:库级系统-上报;2:已核定;3:省级平台-上报;", position = 12)
87
+    private Integer status;
88
+
89
+    // 只展示不保存
90
+    @ApiModelProperty(value = "合同信息")
91
+    @TableField(exist = false)
92
+    private List<BusinessContractDetail> contractDetails;
93
+
94
+    @ApiModelProperty(value = "质检损益信息")
95
+    @TableField(exist = false)
96
+    private List<FsSaleRevenueInspectionLoss> inspectionLossList;
97
+
98
+    @ApiModelProperty(value = "三账一致性-会计账")
99
+    @TableField(exist = false)
100
+    private List<FsSaleRevenueThreeConsistenceAccount> threeConsistenceAccountList;
101
+
102
+    @ApiModelProperty(value = "三账一致性-实际出库情况")
103
+    @TableField(exist = false)
104
+    private List<FsSaleRevenueThreeConsistence> threeConsistenceList;
105
+
106
+    @ApiModelProperty(value = "结算信息")
107
+    @TableField(exist = false)
108
+    private List<FsSaleRevenueSettle> revenueSettleList;
109
+
110
+    @ApiModelProperty(value = "原核定入库价格")
111
+    @TableField(exist = false)
112
+    private List<FsSaleRevenueApprovalPrice> approvalPriceList;
113
+
114
+    @ApiModelProperty(value = "差额上缴")
115
+    @TableField(exist = false)
116
+    private List<FsSaleRevenueDiffPrice> DiffPriceList;
117
+
118
+    @ApiModelProperty(value = "合同编号")
119
+    @TableField(exist = false)
120
+    private String contractNumber;
121
+
122
+    /*@ApiModelProperty(value = "数量")
123
+    @TableField(exist = false)
124
+    private String grainQuantity;*/
125
+
126
+    @ApiModelProperty(value = "结算金额")
127
+    @TableField(exist = false)
128
+    private String moneyQuantity;
129
+
130
+    /*@ApiModelProperty(value = "确认数量")
131
+    @TableField(exist = false)
132
+    private String performanceQuantity;*/
133
+
134
+    @ApiModelProperty(value = "企业名称")
135
+    @TableField(exist = false)
136
+    private String dwmc;
137
+
138
+    @ApiModelProperty(value = "库区名称")
139
+    @TableField(exist = false)
140
+    private String orgName;
33 141
 }

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/enums/FsSaleRevenueEnum.java

@@ -18,7 +18,7 @@ import lombok.Getter;
18 18
  * 销售收入上缴枚举
19 19
  *
20 20
  * @author QSHan
21
- * @date  2024/07/26 16:30
21
+ * @date  2024/07/29 14:04
22 22
  **/
23 23
 @Getter
24 24
 public enum FsSaleRevenueEnum {

+ 5 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/mapper/FsSaleRevenueMapper.java

@@ -12,14 +12,18 @@
12 12
  */
13 13
 package com.unis.financialSupervision.modular.fsSaleRevenue.mapper;
14 14
 
15
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
15 16
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
17
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
16 18
 import com.unis.financialSupervision.modular.fsSaleRevenue.entity.FsSaleRevenue;
19
+import org.apache.ibatis.annotations.Param;
17 20
 
18 21
 /**
19 22
  * 销售收入上缴Mapper接口
20 23
  *
21 24
  * @author QSHan
22
- * @date  2024/07/26 16:30
25
+ * @date 2024/07/29 14:04
23 26
  **/
24 27
 public interface FsSaleRevenueMapper extends BaseMapper<FsSaleRevenue> {
28
+    Page<FsSaleRevenue> pageList(Page<Object> objectPage, @Param("ew") QueryWrapper<FsSaleRevenue> queryWrapper);
25 29
 }

+ 19 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/mapper/mapping/FsSaleRevenueMapper.xml

@@ -1,5 +1,23 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2 2
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3 3
 <mapper namespace="com.unis.financialSupervision.modular.fsSaleRevenue.mapper.FsSaleRevenueMapper">
4
-
4
+    <select id="pageList" parameterType="com.baomidou.mybatisplus.core.conditions.Wrapper" resultType="com.unis.financialSupervision.modular.fsSaleRevenue.entity.FsSaleRevenue">
5
+        SELECT
6
+            sr.id,
7
+            ui.dwmc,
8
+            oi.org_name orgName,
9
+            bc.contract_number contractNumber,
10
+            bc.grain_quantity grainQuantity,
11
+            bc.money_quantity moneyQuantity,
12
+            bc.performance_quantity performanceQuantity,
13
+            sr.createdate,
14
+            sr.`status`,
15
+            sr.updatedate
16
+        FROM
17
+            depot_qh.business_fs_sale_revenue sr
18
+        LEFT JOIN depot_qh.business_contract bc ON sr.contract_id = bc.id
19
+        LEFT JOIN depot_qh.org_info oi ON sr.org_id = oi.org_id
20
+        LEFT JOIN biz_unit_info ui ON ui.id = oi.unit_info_id
21
+        ${ew.customSqlSegment}
22
+    </select>
5 23
 </mapper>

+ 45 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/param/FsSaleRevenueAddParam.java

@@ -25,10 +25,54 @@ import java.util.Date;
25 25
  * 销售收入上缴添加参数
26 26
  *
27 27
  * @author QSHan
28
- * @date  2024/07/26 16:30
28
+ * @date  2024/07/29 14:04
29 29
  **/
30 30
 @Getter
31 31
 @Setter
32 32
 public class FsSaleRevenueAddParam {
33 33
 
34
+    /** 创建人 */
35
+    @ApiModelProperty(value = "创建人", position = 2)
36
+    private String createname;
37
+
38
+    /** 创建日期 */
39
+    @ApiModelProperty(value = "创建日期", position = 3)
40
+    private Date createdate;
41
+
42
+    /** 更新人 */
43
+    @ApiModelProperty(value = "更新人", position = 4)
44
+    private String updatename;
45
+
46
+    /** 更新日期 */
47
+    @ApiModelProperty(value = "更新日期", position = 5)
48
+    private Date updatedate;
49
+
50
+    /** 上报库区;org_info的id; */
51
+    @ApiModelProperty(value = "上报库区;org_info的id;", position = 6)
52
+    private Integer orgId;
53
+
54
+    /** 上报时间 */
55
+    @ApiModelProperty(value = "上报时间", position = 7)
56
+    private Date reportTime;
57
+
58
+    /** 计划类型 */
59
+    @ApiModelProperty(value = "计划类型", position = 8)
60
+    private String planType;
61
+
62
+    /** 销往单位 */
63
+    @ApiModelProperty(value = "销往单位", position = 9)
64
+    private String salesUnit;
65
+
66
+    /** 合同编号;business_contract的ID; */
67
+    @ApiModelProperty(value = "合同编号;business_contract的ID;", position = 10)
68
+    private Integer contractId;
69
+
70
+    /** 问题跟踪反馈 */
71
+    @ApiModelProperty(value = "问题跟踪反馈", position = 11)
72
+    private String problemFeedback;
73
+
74
+    /** 状态 0:保存;1:库级系统-上报;2:已核定;3:省级平台-上报; */
75
+    @ApiModelProperty(value = "状态 0:保存;1:库级系统-上报;2:已核定;3:省级平台-上报;", position = 12)
76
+    private Integer status;
77
+
34 78
 }

+ 50 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/param/FsSaleRevenueEditParam.java

@@ -25,10 +25,59 @@ import java.util.Date;
25 25
  * 销售收入上缴编辑参数
26 26
  *
27 27
  * @author QSHan
28
- * @date  2024/07/26 16:30
28
+ * @date  2024/07/29 14:04
29 29
  **/
30 30
 @Getter
31 31
 @Setter
32 32
 public class FsSaleRevenueEditParam {
33 33
 
34
+    /** 主键ID */
35
+    @ApiModelProperty(value = "主键ID", required = true, position = 1)
36
+    @NotNull(message = "id不能为空")
37
+    private Integer id;
38
+
39
+    /** 创建人 */
40
+    @ApiModelProperty(value = "创建人", position = 2)
41
+    private String createname;
42
+
43
+    /** 创建日期 */
44
+    @ApiModelProperty(value = "创建日期", position = 3)
45
+    private Date createdate;
46
+
47
+    /** 更新人 */
48
+    @ApiModelProperty(value = "更新人", position = 4)
49
+    private String updatename;
50
+
51
+    /** 更新日期 */
52
+    @ApiModelProperty(value = "更新日期", position = 5)
53
+    private Date updatedate;
54
+
55
+    /** 上报库区;org_info的id; */
56
+    @ApiModelProperty(value = "上报库区;org_info的id;", position = 6)
57
+    private Integer orgId;
58
+
59
+    /** 上报时间 */
60
+    @ApiModelProperty(value = "上报时间", position = 7)
61
+    private Date reportTime;
62
+
63
+    /** 计划类型 */
64
+    @ApiModelProperty(value = "计划类型", position = 8)
65
+    private String planType;
66
+
67
+    /** 销往单位 */
68
+    @ApiModelProperty(value = "销往单位", position = 9)
69
+    private String salesUnit;
70
+
71
+    /** 合同编号;business_contract的ID; */
72
+    @ApiModelProperty(value = "合同编号;business_contract的ID;", position = 10)
73
+    private Integer contractId;
74
+
75
+    /** 问题跟踪反馈 */
76
+    @ApiModelProperty(value = "问题跟踪反馈", position = 11)
77
+    private String problemFeedback;
78
+
79
+    /** 状态 0:保存;1:库级系统-上报;2:已核定;3:省级平台-上报; */
80
+    @ApiModelProperty(value = "状态 0:保存;1:库级系统-上报;2:已核定;3:省级平台-上报;", position = 12)
81
+    private Integer status;
82
+
34 83
 }

+ 4 - 4
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/param/FsSaleRevenueIdParam.java

@@ -22,14 +22,14 @@ import javax.validation.constraints.NotBlank;
22 22
  * 销售收入上缴Id参数
23 23
  *
24 24
  * @author QSHan
25
- * @date  2024/07/26 16:30
25
+ * @date  2024/07/29 14:04
26 26
  **/
27 27
 @Getter
28 28
 @Setter
29 29
 public class FsSaleRevenueIdParam {
30 30
 
31
-    /** id */
32
-    @ApiModelProperty(value = "id", required = true)
31
+    /** 主键ID */
32
+    @ApiModelProperty(value = "主键ID", required = true)
33 33
     @NotBlank(message = "id不能为空")
34
-    private String id;
34
+    private Integer id;
35 35
 }

+ 5 - 3
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/param/FsSaleRevenuePageParam.java

@@ -22,7 +22,7 @@ import java.util.Date;
22 22
  * 销售收入上缴查询参数
23 23
  *
24 24
  * @author QSHan
25
- * @date  2024/07/26 16:30
25
+ * @date  2024/07/29 14:04
26 26
  **/
27 27
 @Getter
28 28
 @Setter
@@ -45,7 +45,9 @@ public class FsSaleRevenuePageParam {
45 45
     private String sortOrder;
46 46
 
47 47
     /** 关键词 */
48
-    @ApiModelProperty(value = "关键词")
49
-    private String searchKey;
48
+    @ApiModelProperty(value = "企业名称")
49
+    private String dwmc;
50 50
 
51
+    @ApiModelProperty(value = "库区名称")
52
+    private String orgName;
51 53
 }

+ 7 - 15
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/service/FsSaleRevenueService.java

@@ -26,7 +26,7 @@ import java.util.List;
26 26
  * 销售收入上缴Service接口
27 27
  *
28 28
  * @author QSHan
29
- * @date  2024/07/26 16:30
29
+ * @date  2024/07/29 14:04
30 30
  **/
31 31
 public interface FsSaleRevenueService extends IService<FsSaleRevenue> {
32 32
 
@@ -34,23 +34,15 @@ public interface FsSaleRevenueService extends IService<FsSaleRevenue> {
34 34
      * 获取销售收入上缴分页
35 35
      *
36 36
      * @author QSHan
37
-     * @date  2024/07/26 16:30
37
+     * @date  2024/07/29 14:04
38 38
      */
39 39
     Page<FsSaleRevenue> page(FsSaleRevenuePageParam fsSaleRevenuePageParam);
40 40
 
41 41
     /**
42
-     * 添加销售收入上缴
43
-     *
44
-     * @author QSHan
45
-     * @date  2024/07/26 16:30
46
-     */
47
-    void add(FsSaleRevenueAddParam fsSaleRevenueAddParam);
48
-
49
-    /**
50 42
      * 编辑销售收入上缴
51 43
      *
52 44
      * @author QSHan
53
-     * @date  2024/07/26 16:30
45
+     * @date  2024/07/29 14:04
54 46
      */
55 47
     void edit(FsSaleRevenueEditParam fsSaleRevenueEditParam);
56 48
 
@@ -58,7 +50,7 @@ public interface FsSaleRevenueService extends IService<FsSaleRevenue> {
58 50
      * 删除销售收入上缴
59 51
      *
60 52
      * @author QSHan
61
-     * @date  2024/07/26 16:30
53
+     * @date  2024/07/29 14:04
62 54
      */
63 55
     void delete(List<FsSaleRevenueIdParam> fsSaleRevenueIdParamList);
64 56
 
@@ -66,7 +58,7 @@ public interface FsSaleRevenueService extends IService<FsSaleRevenue> {
66 58
      * 获取销售收入上缴详情
67 59
      *
68 60
      * @author QSHan
69
-     * @date  2024/07/26 16:30
61
+     * @date  2024/07/29 14:04
70 62
      */
71 63
     FsSaleRevenue detail(FsSaleRevenueIdParam fsSaleRevenueIdParam);
72 64
 
@@ -74,7 +66,7 @@ public interface FsSaleRevenueService extends IService<FsSaleRevenue> {
74 66
      * 获取销售收入上缴详情
75 67
      *
76 68
      * @author QSHan
77
-     * @date  2024/07/26 16:30
69
+     * @date  2024/07/29 14:04
78 70
      **/
79
-    FsSaleRevenue queryEntity(String id);
71
+    FsSaleRevenue queryEntity(Integer id);
80 72
 }

+ 19 - 11
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/service/impl/FsSaleRevenueServiceImpl.java

@@ -17,6 +17,7 @@ import cn.hutool.core.collection.CollStreamUtil;
17 17
 import cn.hutool.core.util.ObjectUtil;
18 18
 import cn.hutool.core.util.StrUtil;
19 19
 import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
20
+import com.baomidou.mybatisplus.core.toolkit.StringUtils;
20 21
 import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
21 22
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
22 23
 import org.springframework.stereotype.Service;
@@ -32,40 +33,45 @@ import com.unis.financialSupervision.modular.fsSaleRevenue.param.FsSaleRevenueId
32 33
 import com.unis.financialSupervision.modular.fsSaleRevenue.param.FsSaleRevenuePageParam;
33 34
 import com.unis.financialSupervision.modular.fsSaleRevenue.service.FsSaleRevenueService;
34 35
 
36
+import javax.annotation.Resource;
35 37
 import java.util.List;
36 38
 
37 39
 /**
38 40
  * 销售收入上缴Service接口实现类
39 41
  *
40 42
  * @author QSHan
41
- * @date  2024/07/26 16:30
43
+ * @date  2024/07/29 14:04
42 44
  **/
43 45
 @Service
44 46
 public class FsSaleRevenueServiceImpl extends ServiceImpl<FsSaleRevenueMapper, FsSaleRevenue> implements FsSaleRevenueService {
47
+    @Resource
48
+    private FsSaleRevenueMapper revenueMapper;
45 49
 
46 50
     @Override
47 51
     public Page<FsSaleRevenue> page(FsSaleRevenuePageParam fsSaleRevenuePageParam) {
48 52
         QueryWrapper<FsSaleRevenue> queryWrapper = new QueryWrapper<>();
53
+        queryWrapper.ne("sr.`status`", 0);
54
+        if (StringUtils.isNotBlank(fsSaleRevenuePageParam.getDwmc())) {
55
+            queryWrapper.like("ui.dwmc", fsSaleRevenuePageParam.getDwmc());
56
+        }
57
+        if (StringUtils.isNotBlank(fsSaleRevenuePageParam.getOrgName())) {
58
+            queryWrapper.like("oi.org_name", fsSaleRevenuePageParam.getOrgName());
59
+        }
60
+
49 61
         if(ObjectUtil.isAllNotEmpty(fsSaleRevenuePageParam.getSortField(), fsSaleRevenuePageParam.getSortOrder())) {
50 62
             CommonSortOrderEnum.validate(fsSaleRevenuePageParam.getSortOrder());
51 63
             queryWrapper.orderBy(true, fsSaleRevenuePageParam.getSortOrder().equals(CommonSortOrderEnum.ASC.getValue()),
52 64
                     StrUtil.toUnderlineCase(fsSaleRevenuePageParam.getSortField()));
53 65
         } else {
54
-            queryWrapper.lambda().orderByAsc(FsSaleRevenue::getId);
66
+            queryWrapper.lambda().orderByDesc(FsSaleRevenue::getId);
55 67
         }
56
-        return this.page(CommonPageRequest.defaultPage(), queryWrapper);
57
-    }
58
-
59
-    @Transactional(rollbackFor = Exception.class)
60
-    @Override
61
-    public void add(FsSaleRevenueAddParam fsSaleRevenueAddParam) {
62
-        FsSaleRevenue fsSaleRevenue = BeanUtil.toBean(fsSaleRevenueAddParam, FsSaleRevenue.class);
63
-        this.save(fsSaleRevenue);
68
+        return revenueMapper.pageList(CommonPageRequest.defaultPage(), queryWrapper);
64 69
     }
65 70
 
66 71
     @Transactional(rollbackFor = Exception.class)
67 72
     @Override
68 73
     public void edit(FsSaleRevenueEditParam fsSaleRevenueEditParam) {
74
+        FsSaleRevenue fsSaleRevenue = this.queryEntity(fsSaleRevenueEditParam.getId());
69 75
         BeanUtil.copyProperties(fsSaleRevenueEditParam, fsSaleRevenue);
70 76
         this.updateById(fsSaleRevenue);
71 77
     }
@@ -74,14 +80,16 @@ public class FsSaleRevenueServiceImpl extends ServiceImpl<FsSaleRevenueMapper, F
74 80
     @Override
75 81
     public void delete(List<FsSaleRevenueIdParam> fsSaleRevenueIdParamList) {
76 82
         // 执行删除
83
+        this.removeByIds(CollStreamUtil.toList(fsSaleRevenueIdParamList, FsSaleRevenueIdParam::getId));
77 84
     }
78 85
 
79 86
     @Override
80 87
     public FsSaleRevenue detail(FsSaleRevenueIdParam fsSaleRevenueIdParam) {
88
+        return this.queryEntity(fsSaleRevenueIdParam.getId());
81 89
     }
82 90
 
83 91
     @Override
84
-    public FsSaleRevenue queryEntity(String id) {
92
+    public FsSaleRevenue queryEntity(Integer id) {
85 93
         FsSaleRevenue fsSaleRevenue = this.getById(id);
86 94
         if(ObjectUtil.isEmpty(fsSaleRevenue)) {
87 95
             throw new CommonException("销售收入上缴不存在,id值为:{}", id);

+ 32 - 18
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/controller/FsSaleRevenueApprovalPriceController.java

@@ -9,7 +9,8 @@
9 9
  * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10 10
  * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11 11
  * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
- */
12
+ *//*
13
+
13 14
 package com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.controller;
14 15
 
15 16
 import cn.dev33.satoken.annotation.SaCheckPermission;
@@ -37,12 +38,14 @@ import javax.annotation.Resource;
37 38
 import javax.validation.Valid;
38 39
 import javax.validation.constraints.NotEmpty;
39 40
 
41
+*/
40 42
 /**
41 43
  * 销售收入上缴-原核定入库价格控制器
42 44
  *
43 45
  * @author QSHan
44
- * @date  2024/07/26 16:49
45
- */
46
+ * @date  2024/07/29 15:26
47
+ *//*
48
+
46 49
 @Api(tags = "销售收入上缴-原核定入库价格控制器")
47 50
 @ApiSupport(author = "UNIS_TEAM", order = 1)
48 51
 @RestController
@@ -52,12 +55,14 @@ public class FsSaleRevenueApprovalPriceController {
52 55
     @Resource
53 56
     private FsSaleRevenueApprovalPriceService fsSaleRevenueApprovalPriceService;
54 57
 
55
-    /**
58
+    */
59
+/**
56 60
      * 获取销售收入上缴-原核定入库价格分页
57 61
      *
58 62
      * @author QSHan
59
-     * @date  2024/07/26 16:49
60
-     */
63
+     * @date  2024/07/29 15:26
64
+     *//*
65
+
61 66
     @ApiOperationSupport(order = 1)
62 67
     @ApiOperation("获取销售收入上缴-原核定入库价格分页")
63 68
     @SaCheckPermission("/financialSupervision/fsSaleRevenueApprovalPrice/page")
@@ -66,12 +71,14 @@ public class FsSaleRevenueApprovalPriceController {
66 71
         return CommonResult.data(fsSaleRevenueApprovalPriceService.page(fsSaleRevenueApprovalPricePageParam));
67 72
     }
68 73
 
69
-    /**
74
+    */
75
+/**
70 76
      * 添加销售收入上缴-原核定入库价格
71 77
      *
72 78
      * @author QSHan
73
-     * @date  2024/07/26 16:49
74
-     */
79
+     * @date  2024/07/29 15:26
80
+     *//*
81
+
75 82
     @ApiOperationSupport(order = 2)
76 83
     @ApiOperation("添加销售收入上缴-原核定入库价格")
77 84
     @CommonLog("添加销售收入上缴-原核定入库价格")
@@ -82,12 +89,14 @@ public class FsSaleRevenueApprovalPriceController {
82 89
         return CommonResult.ok();
83 90
     }
84 91
 
85
-    /**
92
+    */
93
+/**
86 94
      * 编辑销售收入上缴-原核定入库价格
87 95
      *
88 96
      * @author QSHan
89
-     * @date  2024/07/26 16:49
90
-     */
97
+     * @date  2024/07/29 15:26
98
+     *//*
99
+
91 100
     @ApiOperationSupport(order = 3)
92 101
     @ApiOperation("编辑销售收入上缴-原核定入库价格")
93 102
     @CommonLog("编辑销售收入上缴-原核定入库价格")
@@ -98,12 +107,14 @@ public class FsSaleRevenueApprovalPriceController {
98 107
         return CommonResult.ok();
99 108
     }
100 109
 
101
-    /**
110
+    */
111
+/**
102 112
      * 删除销售收入上缴-原核定入库价格
103 113
      *
104 114
      * @author QSHan
105
-     * @date  2024/07/26 16:49
106
-     */
115
+     * @date  2024/07/29 15:26
116
+     *//*
117
+
107 118
     @ApiOperationSupport(order = 4)
108 119
     @ApiOperation("删除销售收入上缴-原核定入库价格")
109 120
     @CommonLog("删除销售收入上缴-原核定入库价格")
@@ -115,12 +126,14 @@ public class FsSaleRevenueApprovalPriceController {
115 126
         return CommonResult.ok();
116 127
     }
117 128
 
118
-    /**
129
+    */
130
+/**
119 131
      * 获取销售收入上缴-原核定入库价格详情
120 132
      *
121 133
      * @author QSHan
122
-     * @date  2024/07/26 16:49
123
-     */
134
+     * @date  2024/07/29 15:26
135
+     *//*
136
+
124 137
     @ApiOperationSupport(order = 5)
125 138
     @ApiOperation("获取销售收入上缴-原核定入库价格详情")
126 139
     @SaCheckPermission("/financialSupervision/fsSaleRevenueApprovalPrice/detail")
@@ -129,3 +142,4 @@ public class FsSaleRevenueApprovalPriceController {
129 142
         return CommonResult.data(fsSaleRevenueApprovalPriceService.detail(fsSaleRevenueApprovalPriceIdParam));
130 143
     }
131 144
 }
145
+*/

+ 65 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/entity/FsSaleRevenueApprovalPrice.java

@@ -23,11 +23,75 @@ import java.util.Date;
23 23
  * 销售收入上缴-原核定入库价格实体
24 24
  *
25 25
  * @author QSHan
26
- * @date  2024/07/26 16:49
26
+ * @date  2024/07/29 15:26
27 27
  **/
28 28
 @Getter
29 29
 @Setter
30 30
 @TableName("business_fs_sale_revenue_approval_price")
31 31
 public class FsSaleRevenueApprovalPrice {
32 32
 
33
+    /** 主键ID */
34
+    @TableId
35
+    @ApiModelProperty(value = "主键ID", position = 1)
36
+    private Integer id;
37
+
38
+    /** 创建人 */
39
+    @ApiModelProperty(value = "创建人", position = 2)
40
+    private String createname;
41
+
42
+    /** 创建日期 */
43
+    @ApiModelProperty(value = "创建日期", position = 3)
44
+    private Date createdate;
45
+
46
+    /** 更新人 */
47
+    @ApiModelProperty(value = "更新人", position = 4)
48
+    private String updatename;
49
+
50
+    /** 更新日期 */
51
+    @ApiModelProperty(value = "更新日期", position = 5)
52
+    private Date updatedate;
53
+
54
+    /** business_fs_sale_revenue的ID; */
55
+    @ApiModelProperty(value = "business_fs_sale_revenue的ID;", position = 6)
56
+    private Integer fsSaleRevenueId;
57
+
58
+    /** 原粮专卡ID;grain_situation_card的ID; */
59
+    @ApiModelProperty(value = "原粮专卡ID;grain_situation_card的ID;", position = 7)
60
+    private Integer grainSituationCardId;
61
+
62
+    /** 入库金额 */
63
+    @ApiModelProperty(value = "入库金额", position = 8)
64
+    private BigDecimal storageAmount;
65
+
66
+    /** 文件号 */
67
+    @ApiModelProperty(value = "文件号", position = 9)
68
+    private String documentNumber;
69
+
70
+    /** 文档上传 */
71
+    @ApiModelProperty(value = "文档上传", position = 10)
72
+    private String documentUpload;
73
+
74
+    @ApiModelProperty(value = "仓房名称")
75
+    @TableField(exist = false)
76
+    private Integer storehouseId;
77
+
78
+    @ApiModelProperty(value = "仓房名称")
79
+    @TableField(exist = false)
80
+    private String storehouseName;
81
+
82
+    @ApiModelProperty(value = "货位名称")
83
+    @TableField(exist = false)
84
+    private String warehouseId;
85
+
86
+    @ApiModelProperty(value = "货位名称")
87
+    @TableField(exist = false)
88
+    private String warehouseName;
89
+
90
+    @ApiModelProperty(value = "入库数量(公斤)")
91
+    @TableField(exist = false)
92
+    private BigDecimal lssl;
93
+
94
+    @ApiModelProperty(value = "核定单价(元)")
95
+    @TableField(exist = false)
96
+    private BigDecimal inNinancialVerification;
33 97
 }

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/enums/FsSaleRevenueApprovalPriceEnum.java

@@ -18,7 +18,7 @@ import lombok.Getter;
18 18
  * 销售收入上缴-原核定入库价格枚举
19 19
  *
20 20
  * @author QSHan
21
- * @date  2024/07/26 16:49
21
+ * @date  2024/07/29 15:26
22 22
  **/
23 23
 @Getter
24 24
 public enum FsSaleRevenueApprovalPriceEnum {

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/mapper/FsSaleRevenueApprovalPriceMapper.java

@@ -19,7 +19,7 @@ import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.entity.F
19 19
  * 销售收入上缴-原核定入库价格Mapper接口
20 20
  *
21 21
  * @author QSHan
22
- * @date  2024/07/26 16:49
22
+ * @date  2024/07/29 15:26
23 23
  **/
24 24
 public interface FsSaleRevenueApprovalPriceMapper extends BaseMapper<FsSaleRevenueApprovalPrice> {
25 25
 }

+ 37 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/param/FsSaleRevenueApprovalPriceAddParam.java

@@ -25,10 +25,46 @@ import java.util.Date;
25 25
  * 销售收入上缴-原核定入库价格添加参数
26 26
  *
27 27
  * @author QSHan
28
- * @date  2024/07/26 16:49
28
+ * @date  2024/07/29 15:26
29 29
  **/
30 30
 @Getter
31 31
 @Setter
32 32
 public class FsSaleRevenueApprovalPriceAddParam {
33 33
 
34
+    /** 创建人 */
35
+    @ApiModelProperty(value = "创建人", position = 2)
36
+    private String createname;
37
+
38
+    /** 创建日期 */
39
+    @ApiModelProperty(value = "创建日期", position = 3)
40
+    private Date createdate;
41
+
42
+    /** 更新人 */
43
+    @ApiModelProperty(value = "更新人", position = 4)
44
+    private String updatename;
45
+
46
+    /** 更新日期 */
47
+    @ApiModelProperty(value = "更新日期", position = 5)
48
+    private Date updatedate;
49
+
50
+    /** business_fs_sale_revenue的ID; */
51
+    @ApiModelProperty(value = "business_fs_sale_revenue的ID;", position = 6)
52
+    private Integer fsSaleRevenueId;
53
+
54
+    /** 原粮专卡ID;grain_situation_card的ID; */
55
+    @ApiModelProperty(value = "原粮专卡ID;grain_situation_card的ID;", position = 7)
56
+    private Integer grainSituationCardId;
57
+
58
+    /** 入库金额 */
59
+    @ApiModelProperty(value = "入库金额", position = 8)
60
+    private BigDecimal storageAmount;
61
+
62
+    /** 文件号 */
63
+    @ApiModelProperty(value = "文件号", position = 9)
64
+    private String documentNumber;
65
+
66
+    /** 文档上传 */
67
+    @ApiModelProperty(value = "文档上传", position = 10)
68
+    private String documentUpload;
69
+
34 70
 }

+ 42 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/param/FsSaleRevenueApprovalPriceEditParam.java

@@ -25,10 +25,51 @@ import java.util.Date;
25 25
  * 销售收入上缴-原核定入库价格编辑参数
26 26
  *
27 27
  * @author QSHan
28
- * @date  2024/07/26 16:49
28
+ * @date  2024/07/29 15:26
29 29
  **/
30 30
 @Getter
31 31
 @Setter
32 32
 public class FsSaleRevenueApprovalPriceEditParam {
33 33
 
34
+    /** 主键ID */
35
+    @ApiModelProperty(value = "主键ID", required = true, position = 1)
36
+    @NotNull(message = "id不能为空")
37
+    private Integer id;
38
+
39
+    /** 创建人 */
40
+    @ApiModelProperty(value = "创建人", position = 2)
41
+    private String createname;
42
+
43
+    /** 创建日期 */
44
+    @ApiModelProperty(value = "创建日期", position = 3)
45
+    private Date createdate;
46
+
47
+    /** 更新人 */
48
+    @ApiModelProperty(value = "更新人", position = 4)
49
+    private String updatename;
50
+
51
+    /** 更新日期 */
52
+    @ApiModelProperty(value = "更新日期", position = 5)
53
+    private Date updatedate;
54
+
55
+    /** business_fs_sale_revenue的ID; */
56
+    @ApiModelProperty(value = "business_fs_sale_revenue的ID;", position = 6)
57
+    private Integer fsSaleRevenueId;
58
+
59
+    /** 原粮专卡ID;grain_situation_card的ID; */
60
+    @ApiModelProperty(value = "原粮专卡ID;grain_situation_card的ID;", position = 7)
61
+    private Integer grainSituationCardId;
62
+
63
+    /** 入库金额 */
64
+    @ApiModelProperty(value = "入库金额", position = 8)
65
+    private BigDecimal storageAmount;
66
+
67
+    /** 文件号 */
68
+    @ApiModelProperty(value = "文件号", position = 9)
69
+    private String documentNumber;
70
+
71
+    /** 文档上传 */
72
+    @ApiModelProperty(value = "文档上传", position = 10)
73
+    private String documentUpload;
74
+
34 75
 }

+ 4 - 4
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/param/FsSaleRevenueApprovalPriceIdParam.java

@@ -22,14 +22,14 @@ import javax.validation.constraints.NotBlank;
22 22
  * 销售收入上缴-原核定入库价格Id参数
23 23
  *
24 24
  * @author QSHan
25
- * @date  2024/07/26 16:49
25
+ * @date  2024/07/29 15:26
26 26
  **/
27 27
 @Getter
28 28
 @Setter
29 29
 public class FsSaleRevenueApprovalPriceIdParam {
30 30
 
31
-    /** id */
32
-    @ApiModelProperty(value = "id", required = true)
31
+    /** 主键ID */
32
+    @ApiModelProperty(value = "主键ID", required = true)
33 33
     @NotBlank(message = "id不能为空")
34
-    private String id;
34
+    private Integer id;
35 35
 }

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/param/FsSaleRevenueApprovalPricePageParam.java

@@ -22,7 +22,7 @@ import java.util.Date;
22 22
  * 销售收入上缴-原核定入库价格查询参数
23 23
  *
24 24
  * @author QSHan
25
- * @date  2024/07/26 16:49
25
+ * @date  2024/07/29 15:26
26 26
  **/
27 27
 @Getter
28 28
 @Setter

+ 8 - 8
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/service/FsSaleRevenueApprovalPriceService.java

@@ -26,7 +26,7 @@ import java.util.List;
26 26
  * 销售收入上缴-原核定入库价格Service接口
27 27
  *
28 28
  * @author QSHan
29
- * @date  2024/07/26 16:49
29
+ * @date  2024/07/29 15:26
30 30
  **/
31 31
 public interface FsSaleRevenueApprovalPriceService extends IService<FsSaleRevenueApprovalPrice> {
32 32
 
@@ -34,7 +34,7 @@ public interface FsSaleRevenueApprovalPriceService extends IService<FsSaleRevenu
34 34
      * 获取销售收入上缴-原核定入库价格分页
35 35
      *
36 36
      * @author QSHan
37
-     * @date  2024/07/26 16:49
37
+     * @date  2024/07/29 15:26
38 38
      */
39 39
     Page<FsSaleRevenueApprovalPrice> page(FsSaleRevenueApprovalPricePageParam fsSaleRevenueApprovalPricePageParam);
40 40
 
@@ -42,7 +42,7 @@ public interface FsSaleRevenueApprovalPriceService extends IService<FsSaleRevenu
42 42
      * 添加销售收入上缴-原核定入库价格
43 43
      *
44 44
      * @author QSHan
45
-     * @date  2024/07/26 16:49
45
+     * @date  2024/07/29 15:26
46 46
      */
47 47
     void add(FsSaleRevenueApprovalPriceAddParam fsSaleRevenueApprovalPriceAddParam);
48 48
 
@@ -50,7 +50,7 @@ public interface FsSaleRevenueApprovalPriceService extends IService<FsSaleRevenu
50 50
      * 编辑销售收入上缴-原核定入库价格
51 51
      *
52 52
      * @author QSHan
53
-     * @date  2024/07/26 16:49
53
+     * @date  2024/07/29 15:26
54 54
      */
55 55
     void edit(FsSaleRevenueApprovalPriceEditParam fsSaleRevenueApprovalPriceEditParam);
56 56
 
@@ -58,7 +58,7 @@ public interface FsSaleRevenueApprovalPriceService extends IService<FsSaleRevenu
58 58
      * 删除销售收入上缴-原核定入库价格
59 59
      *
60 60
      * @author QSHan
61
-     * @date  2024/07/26 16:49
61
+     * @date  2024/07/29 15:26
62 62
      */
63 63
     void delete(List<FsSaleRevenueApprovalPriceIdParam> fsSaleRevenueApprovalPriceIdParamList);
64 64
 
@@ -66,7 +66,7 @@ public interface FsSaleRevenueApprovalPriceService extends IService<FsSaleRevenu
66 66
      * 获取销售收入上缴-原核定入库价格详情
67 67
      *
68 68
      * @author QSHan
69
-     * @date  2024/07/26 16:49
69
+     * @date  2024/07/29 15:26
70 70
      */
71 71
     FsSaleRevenueApprovalPrice detail(FsSaleRevenueApprovalPriceIdParam fsSaleRevenueApprovalPriceIdParam);
72 72
 
@@ -74,7 +74,7 @@ public interface FsSaleRevenueApprovalPriceService extends IService<FsSaleRevenu
74 74
      * 获取销售收入上缴-原核定入库价格详情
75 75
      *
76 76
      * @author QSHan
77
-     * @date  2024/07/26 16:49
77
+     * @date  2024/07/29 15:26
78 78
      **/
79
-    FsSaleRevenueApprovalPrice queryEntity(String id);
79
+    FsSaleRevenueApprovalPrice queryEntity(Integer id);
80 80
 }

+ 5 - 2
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/service/impl/FsSaleRevenueApprovalPriceServiceImpl.java

@@ -38,7 +38,7 @@ import java.util.List;
38 38
  * 销售收入上缴-原核定入库价格Service接口实现类
39 39
  *
40 40
  * @author QSHan
41
- * @date  2024/07/26 16:49
41
+ * @date  2024/07/29 15:26
42 42
  **/
43 43
 @Service
44 44
 public class FsSaleRevenueApprovalPriceServiceImpl extends ServiceImpl<FsSaleRevenueApprovalPriceMapper, FsSaleRevenueApprovalPrice> implements FsSaleRevenueApprovalPriceService {
@@ -66,6 +66,7 @@ public class FsSaleRevenueApprovalPriceServiceImpl extends ServiceImpl<FsSaleRev
66 66
     @Transactional(rollbackFor = Exception.class)
67 67
     @Override
68 68
     public void edit(FsSaleRevenueApprovalPriceEditParam fsSaleRevenueApprovalPriceEditParam) {
69
+        FsSaleRevenueApprovalPrice fsSaleRevenueApprovalPrice = this.queryEntity(fsSaleRevenueApprovalPriceEditParam.getId());
69 70
         BeanUtil.copyProperties(fsSaleRevenueApprovalPriceEditParam, fsSaleRevenueApprovalPrice);
70 71
         this.updateById(fsSaleRevenueApprovalPrice);
71 72
     }
@@ -74,14 +75,16 @@ public class FsSaleRevenueApprovalPriceServiceImpl extends ServiceImpl<FsSaleRev
74 75
     @Override
75 76
     public void delete(List<FsSaleRevenueApprovalPriceIdParam> fsSaleRevenueApprovalPriceIdParamList) {
76 77
         // 执行删除
78
+        this.removeByIds(CollStreamUtil.toList(fsSaleRevenueApprovalPriceIdParamList, FsSaleRevenueApprovalPriceIdParam::getId));
77 79
     }
78 80
 
79 81
     @Override
80 82
     public FsSaleRevenueApprovalPrice detail(FsSaleRevenueApprovalPriceIdParam fsSaleRevenueApprovalPriceIdParam) {
83
+        return this.queryEntity(fsSaleRevenueApprovalPriceIdParam.getId());
81 84
     }
82 85
 
83 86
     @Override
84
-    public FsSaleRevenueApprovalPrice queryEntity(String id) {
87
+    public FsSaleRevenueApprovalPrice queryEntity(Integer id) {
85 88
         FsSaleRevenueApprovalPrice fsSaleRevenueApprovalPrice = this.getById(id);
86 89
         if(ObjectUtil.isEmpty(fsSaleRevenueApprovalPrice)) {
87 90
             throw new CommonException("销售收入上缴-原核定入库价格不存在,id值为:{}", id);

+ 32 - 18
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/controller/FsSaleRevenueDiffPriceController.java

@@ -9,7 +9,8 @@
9 9
  * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10 10
  * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11 11
  * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
- */
12
+ *//*
13
+
13 14
 package com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.controller;
14 15
 
15 16
 import cn.dev33.satoken.annotation.SaCheckPermission;
@@ -37,12 +38,14 @@ import javax.annotation.Resource;
37 38
 import javax.validation.Valid;
38 39
 import javax.validation.constraints.NotEmpty;
39 40
 
41
+*/
40 42
 /**
41 43
  * 销售收入上缴-差额上缴控制器
42 44
  *
43 45
  * @author QSHan
44
- * @date  2024/07/26 16:56
45
- */
46
+ * @date  2024/07/29 15:31
47
+ *//*
48
+
46 49
 @Api(tags = "销售收入上缴-差额上缴控制器")
47 50
 @ApiSupport(author = "UNIS_TEAM", order = 1)
48 51
 @RestController
@@ -52,12 +55,14 @@ public class FsSaleRevenueDiffPriceController {
52 55
     @Resource
53 56
     private FsSaleRevenueDiffPriceService fsSaleRevenueDiffPriceService;
54 57
 
55
-    /**
58
+    */
59
+/**
56 60
      * 获取销售收入上缴-差额上缴分页
57 61
      *
58 62
      * @author QSHan
59
-     * @date  2024/07/26 16:56
60
-     */
63
+     * @date  2024/07/29 15:31
64
+     *//*
65
+
61 66
     @ApiOperationSupport(order = 1)
62 67
     @ApiOperation("获取销售收入上缴-差额上缴分页")
63 68
     @SaCheckPermission("/financialSupervision/fsSaleRevenueDiffPrice/page")
@@ -66,12 +71,14 @@ public class FsSaleRevenueDiffPriceController {
66 71
         return CommonResult.data(fsSaleRevenueDiffPriceService.page(fsSaleRevenueDiffPricePageParam));
67 72
     }
68 73
 
69
-    /**
74
+    */
75
+/**
70 76
      * 添加销售收入上缴-差额上缴
71 77
      *
72 78
      * @author QSHan
73
-     * @date  2024/07/26 16:56
74
-     */
79
+     * @date  2024/07/29 15:31
80
+     *//*
81
+
75 82
     @ApiOperationSupport(order = 2)
76 83
     @ApiOperation("添加销售收入上缴-差额上缴")
77 84
     @CommonLog("添加销售收入上缴-差额上缴")
@@ -82,12 +89,14 @@ public class FsSaleRevenueDiffPriceController {
82 89
         return CommonResult.ok();
83 90
     }
84 91
 
85
-    /**
92
+    */
93
+/**
86 94
      * 编辑销售收入上缴-差额上缴
87 95
      *
88 96
      * @author QSHan
89
-     * @date  2024/07/26 16:56
90
-     */
97
+     * @date  2024/07/29 15:31
98
+     *//*
99
+
91 100
     @ApiOperationSupport(order = 3)
92 101
     @ApiOperation("编辑销售收入上缴-差额上缴")
93 102
     @CommonLog("编辑销售收入上缴-差额上缴")
@@ -98,12 +107,14 @@ public class FsSaleRevenueDiffPriceController {
98 107
         return CommonResult.ok();
99 108
     }
100 109
 
101
-    /**
110
+    */
111
+/**
102 112
      * 删除销售收入上缴-差额上缴
103 113
      *
104 114
      * @author QSHan
105
-     * @date  2024/07/26 16:56
106
-     */
115
+     * @date  2024/07/29 15:31
116
+     *//*
117
+
107 118
     @ApiOperationSupport(order = 4)
108 119
     @ApiOperation("删除销售收入上缴-差额上缴")
109 120
     @CommonLog("删除销售收入上缴-差额上缴")
@@ -115,12 +126,14 @@ public class FsSaleRevenueDiffPriceController {
115 126
         return CommonResult.ok();
116 127
     }
117 128
 
118
-    /**
129
+    */
130
+/**
119 131
      * 获取销售收入上缴-差额上缴详情
120 132
      *
121 133
      * @author QSHan
122
-     * @date  2024/07/26 16:56
123
-     */
134
+     * @date  2024/07/29 15:31
135
+     *//*
136
+
124 137
     @ApiOperationSupport(order = 5)
125 138
     @ApiOperation("获取销售收入上缴-差额上缴详情")
126 139
     @SaCheckPermission("/financialSupervision/fsSaleRevenueDiffPrice/detail")
@@ -129,3 +142,4 @@ public class FsSaleRevenueDiffPriceController {
129 142
         return CommonResult.data(fsSaleRevenueDiffPriceService.detail(fsSaleRevenueDiffPriceIdParam));
130 143
     }
131 144
 }
145
+*/

+ 45 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/entity/FsSaleRevenueDiffPrice.java

@@ -23,11 +23,55 @@ import java.util.Date;
23 23
  * 销售收入上缴-差额上缴实体
24 24
  *
25 25
  * @author QSHan
26
- * @date  2024/07/26 16:56
26
+ * @date  2024/07/29 15:31
27 27
  **/
28 28
 @Getter
29 29
 @Setter
30 30
 @TableName("business_fs_sale_revenue_diff_price")
31 31
 public class FsSaleRevenueDiffPrice {
32 32
 
33
+    /** 主键ID */
34
+    @TableId
35
+    @ApiModelProperty(value = "主键ID", position = 1)
36
+    private Integer id;
37
+
38
+    /** 创建人 */
39
+    @ApiModelProperty(value = "创建人", position = 2)
40
+    private String createname;
41
+
42
+    /** 创建日期 */
43
+    @ApiModelProperty(value = "创建日期", position = 3)
44
+    private Date createdate;
45
+
46
+    /** 更新人 */
47
+    @ApiModelProperty(value = "更新人", position = 4)
48
+    private String updatename;
49
+
50
+    /** 更新日期 */
51
+    @ApiModelProperty(value = "更新日期", position = 5)
52
+    private Date updatedate;
53
+
54
+    /** business_fs_sale_revenue的ID; */
55
+    @ApiModelProperty(value = "business_fs_sale_revenue的ID;", position = 6)
56
+    private Integer fsSaleRevenueId;
57
+
58
+    /** 项目类型 1:销售;2:损耗;3:入库(用负数表示);4:交易手续费(用负数表示); */
59
+    @ApiModelProperty(value = "项目类型 1:销售;2:损耗;3:入库(用负数表示);4:交易手续费(用负数表示);", position = 7)
60
+    private Integer projectType;
61
+
62
+    /** 数量 */
63
+    @ApiModelProperty(value = "数量", position = 8)
64
+    private BigDecimal totalQuantity;
65
+
66
+    /** 省平台修改-数量 */
67
+    @ApiModelProperty(value = "省平台修改-数量", position = 9)
68
+    private BigDecimal provinceTotalQuantity;
69
+
70
+    /** 金额 */
71
+    @ApiModelProperty(value = "金额", position = 10)
72
+    private BigDecimal totalAmount;
73
+
74
+    /** 省平台修改-金额 */
75
+    @ApiModelProperty(value = "省平台修改-金额", position = 11)
76
+    private BigDecimal provinceTotalAmount;
33 77
 }

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/enums/FsSaleRevenueDiffPriceEnum.java

@@ -18,7 +18,7 @@ import lombok.Getter;
18 18
  * 销售收入上缴-差额上缴枚举
19 19
  *
20 20
  * @author QSHan
21
- * @date  2024/07/26 16:56
21
+ * @date  2024/07/29 15:31
22 22
  **/
23 23
 @Getter
24 24
 public enum FsSaleRevenueDiffPriceEnum {

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/mapper/FsSaleRevenueDiffPriceMapper.java

@@ -19,7 +19,7 @@ import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.entity.FsSal
19 19
  * 销售收入上缴-差额上缴Mapper接口
20 20
  *
21 21
  * @author QSHan
22
- * @date  2024/07/26 16:56
22
+ * @date  2024/07/29 15:31
23 23
  **/
24 24
 public interface FsSaleRevenueDiffPriceMapper extends BaseMapper<FsSaleRevenueDiffPrice> {
25 25
 }

+ 41 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/param/FsSaleRevenueDiffPriceAddParam.java

@@ -25,10 +25,50 @@ import java.util.Date;
25 25
  * 销售收入上缴-差额上缴添加参数
26 26
  *
27 27
  * @author QSHan
28
- * @date  2024/07/26 16:56
28
+ * @date  2024/07/29 15:31
29 29
  **/
30 30
 @Getter
31 31
 @Setter
32 32
 public class FsSaleRevenueDiffPriceAddParam {
33 33
 
34
+    /** 创建人 */
35
+    @ApiModelProperty(value = "创建人", position = 2)
36
+    private String createname;
37
+
38
+    /** 创建日期 */
39
+    @ApiModelProperty(value = "创建日期", position = 3)
40
+    private Date createdate;
41
+
42
+    /** 更新人 */
43
+    @ApiModelProperty(value = "更新人", position = 4)
44
+    private String updatename;
45
+
46
+    /** 更新日期 */
47
+    @ApiModelProperty(value = "更新日期", position = 5)
48
+    private Date updatedate;
49
+
50
+    /** business_fs_sale_revenue的ID; */
51
+    @ApiModelProperty(value = "business_fs_sale_revenue的ID;", position = 6)
52
+    private Integer fsSaleRevenueId;
53
+
54
+    /** 项目类型 1:销售;2:损耗;3:入库(用负数表示);4:交易手续费(用负数表示); */
55
+    @ApiModelProperty(value = "项目类型 1:销售;2:损耗;3:入库(用负数表示);4:交易手续费(用负数表示);", position = 7)
56
+    private Integer projectType;
57
+
58
+    /** 数量 */
59
+    @ApiModelProperty(value = "数量", position = 8)
60
+    private BigDecimal totalQuantity;
61
+
62
+    /** 省平台修改-数量 */
63
+    @ApiModelProperty(value = "省平台修改-数量", position = 9)
64
+    private BigDecimal provinceTotalQuantity;
65
+
66
+    /** 金额 */
67
+    @ApiModelProperty(value = "金额", position = 10)
68
+    private BigDecimal totalAmount;
69
+
70
+    /** 省平台修改-金额 */
71
+    @ApiModelProperty(value = "省平台修改-金额", position = 11)
72
+    private BigDecimal provinceTotalAmount;
73
+
34 74
 }

+ 46 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/param/FsSaleRevenueDiffPriceEditParam.java

@@ -25,10 +25,55 @@ import java.util.Date;
25 25
  * 销售收入上缴-差额上缴编辑参数
26 26
  *
27 27
  * @author QSHan
28
- * @date  2024/07/26 16:56
28
+ * @date  2024/07/29 15:31
29 29
  **/
30 30
 @Getter
31 31
 @Setter
32 32
 public class FsSaleRevenueDiffPriceEditParam {
33 33
 
34
+    /** 主键ID */
35
+    @ApiModelProperty(value = "主键ID", required = true, position = 1)
36
+    @NotNull(message = "id不能为空")
37
+    private Integer id;
38
+
39
+    /** 创建人 */
40
+    @ApiModelProperty(value = "创建人", position = 2)
41
+    private String createname;
42
+
43
+    /** 创建日期 */
44
+    @ApiModelProperty(value = "创建日期", position = 3)
45
+    private Date createdate;
46
+
47
+    /** 更新人 */
48
+    @ApiModelProperty(value = "更新人", position = 4)
49
+    private String updatename;
50
+
51
+    /** 更新日期 */
52
+    @ApiModelProperty(value = "更新日期", position = 5)
53
+    private Date updatedate;
54
+
55
+    /** business_fs_sale_revenue的ID; */
56
+    @ApiModelProperty(value = "business_fs_sale_revenue的ID;", position = 6)
57
+    private Integer fsSaleRevenueId;
58
+
59
+    /** 项目类型 1:销售;2:损耗;3:入库(用负数表示);4:交易手续费(用负数表示); */
60
+    @ApiModelProperty(value = "项目类型 1:销售;2:损耗;3:入库(用负数表示);4:交易手续费(用负数表示);", position = 7)
61
+    private Integer projectType;
62
+
63
+    /** 数量 */
64
+    @ApiModelProperty(value = "数量", position = 8)
65
+    private BigDecimal totalQuantity;
66
+
67
+    /** 省平台修改-数量 */
68
+    @ApiModelProperty(value = "省平台修改-数量", position = 9)
69
+    private BigDecimal provinceTotalQuantity;
70
+
71
+    /** 金额 */
72
+    @ApiModelProperty(value = "金额", position = 10)
73
+    private BigDecimal totalAmount;
74
+
75
+    /** 省平台修改-金额 */
76
+    @ApiModelProperty(value = "省平台修改-金额", position = 11)
77
+    private BigDecimal provinceTotalAmount;
78
+
34 79
 }

+ 4 - 4
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/param/FsSaleRevenueDiffPriceIdParam.java

@@ -22,14 +22,14 @@ import javax.validation.constraints.NotBlank;
22 22
  * 销售收入上缴-差额上缴Id参数
23 23
  *
24 24
  * @author QSHan
25
- * @date  2024/07/26 16:56
25
+ * @date  2024/07/29 15:31
26 26
  **/
27 27
 @Getter
28 28
 @Setter
29 29
 public class FsSaleRevenueDiffPriceIdParam {
30 30
 
31
-    /** id */
32
-    @ApiModelProperty(value = "id", required = true)
31
+    /** 主键ID */
32
+    @ApiModelProperty(value = "主键ID", required = true)
33 33
     @NotBlank(message = "id不能为空")
34
-    private String id;
34
+    private Integer id;
35 35
 }

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/param/FsSaleRevenueDiffPricePageParam.java

@@ -22,7 +22,7 @@ import java.util.Date;
22 22
  * 销售收入上缴-差额上缴查询参数
23 23
  *
24 24
  * @author QSHan
25
- * @date  2024/07/26 16:56
25
+ * @date  2024/07/29 15:31
26 26
  **/
27 27
 @Getter
28 28
 @Setter

+ 8 - 8
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/service/FsSaleRevenueDiffPriceService.java

@@ -26,7 +26,7 @@ import java.util.List;
26 26
  * 销售收入上缴-差额上缴Service接口
27 27
  *
28 28
  * @author QSHan
29
- * @date  2024/07/26 16:56
29
+ * @date  2024/07/29 15:31
30 30
  **/
31 31
 public interface FsSaleRevenueDiffPriceService extends IService<FsSaleRevenueDiffPrice> {
32 32
 
@@ -34,7 +34,7 @@ public interface FsSaleRevenueDiffPriceService extends IService<FsSaleRevenueDif
34 34
      * 获取销售收入上缴-差额上缴分页
35 35
      *
36 36
      * @author QSHan
37
-     * @date  2024/07/26 16:56
37
+     * @date  2024/07/29 15:31
38 38
      */
39 39
     Page<FsSaleRevenueDiffPrice> page(FsSaleRevenueDiffPricePageParam fsSaleRevenueDiffPricePageParam);
40 40
 
@@ -42,7 +42,7 @@ public interface FsSaleRevenueDiffPriceService extends IService<FsSaleRevenueDif
42 42
      * 添加销售收入上缴-差额上缴
43 43
      *
44 44
      * @author QSHan
45
-     * @date  2024/07/26 16:56
45
+     * @date  2024/07/29 15:31
46 46
      */
47 47
     void add(FsSaleRevenueDiffPriceAddParam fsSaleRevenueDiffPriceAddParam);
48 48
 
@@ -50,7 +50,7 @@ public interface FsSaleRevenueDiffPriceService extends IService<FsSaleRevenueDif
50 50
      * 编辑销售收入上缴-差额上缴
51 51
      *
52 52
      * @author QSHan
53
-     * @date  2024/07/26 16:56
53
+     * @date  2024/07/29 15:31
54 54
      */
55 55
     void edit(FsSaleRevenueDiffPriceEditParam fsSaleRevenueDiffPriceEditParam);
56 56
 
@@ -58,7 +58,7 @@ public interface FsSaleRevenueDiffPriceService extends IService<FsSaleRevenueDif
58 58
      * 删除销售收入上缴-差额上缴
59 59
      *
60 60
      * @author QSHan
61
-     * @date  2024/07/26 16:56
61
+     * @date  2024/07/29 15:31
62 62
      */
63 63
     void delete(List<FsSaleRevenueDiffPriceIdParam> fsSaleRevenueDiffPriceIdParamList);
64 64
 
@@ -66,7 +66,7 @@ public interface FsSaleRevenueDiffPriceService extends IService<FsSaleRevenueDif
66 66
      * 获取销售收入上缴-差额上缴详情
67 67
      *
68 68
      * @author QSHan
69
-     * @date  2024/07/26 16:56
69
+     * @date  2024/07/29 15:31
70 70
      */
71 71
     FsSaleRevenueDiffPrice detail(FsSaleRevenueDiffPriceIdParam fsSaleRevenueDiffPriceIdParam);
72 72
 
@@ -74,7 +74,7 @@ public interface FsSaleRevenueDiffPriceService extends IService<FsSaleRevenueDif
74 74
      * 获取销售收入上缴-差额上缴详情
75 75
      *
76 76
      * @author QSHan
77
-     * @date  2024/07/26 16:56
77
+     * @date  2024/07/29 15:31
78 78
      **/
79
-    FsSaleRevenueDiffPrice queryEntity(String id);
79
+    FsSaleRevenueDiffPrice queryEntity(Integer id);
80 80
 }

+ 5 - 2
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/service/impl/FsSaleRevenueDiffPriceServiceImpl.java

@@ -38,7 +38,7 @@ import java.util.List;
38 38
  * 销售收入上缴-差额上缴Service接口实现类
39 39
  *
40 40
  * @author QSHan
41
- * @date  2024/07/26 16:56
41
+ * @date  2024/07/29 15:31
42 42
  **/
43 43
 @Service
44 44
 public class FsSaleRevenueDiffPriceServiceImpl extends ServiceImpl<FsSaleRevenueDiffPriceMapper, FsSaleRevenueDiffPrice> implements FsSaleRevenueDiffPriceService {
@@ -66,6 +66,7 @@ public class FsSaleRevenueDiffPriceServiceImpl extends ServiceImpl<FsSaleRevenue
66 66
     @Transactional(rollbackFor = Exception.class)
67 67
     @Override
68 68
     public void edit(FsSaleRevenueDiffPriceEditParam fsSaleRevenueDiffPriceEditParam) {
69
+        FsSaleRevenueDiffPrice fsSaleRevenueDiffPrice = this.queryEntity(fsSaleRevenueDiffPriceEditParam.getId());
69 70
         BeanUtil.copyProperties(fsSaleRevenueDiffPriceEditParam, fsSaleRevenueDiffPrice);
70 71
         this.updateById(fsSaleRevenueDiffPrice);
71 72
     }
@@ -74,14 +75,16 @@ public class FsSaleRevenueDiffPriceServiceImpl extends ServiceImpl<FsSaleRevenue
74 75
     @Override
75 76
     public void delete(List<FsSaleRevenueDiffPriceIdParam> fsSaleRevenueDiffPriceIdParamList) {
76 77
         // 执行删除
78
+        this.removeByIds(CollStreamUtil.toList(fsSaleRevenueDiffPriceIdParamList, FsSaleRevenueDiffPriceIdParam::getId));
77 79
     }
78 80
 
79 81
     @Override
80 82
     public FsSaleRevenueDiffPrice detail(FsSaleRevenueDiffPriceIdParam fsSaleRevenueDiffPriceIdParam) {
83
+        return this.queryEntity(fsSaleRevenueDiffPriceIdParam.getId());
81 84
     }
82 85
 
83 86
     @Override
84
-    public FsSaleRevenueDiffPrice queryEntity(String id) {
87
+    public FsSaleRevenueDiffPrice queryEntity(Integer id) {
85 88
         FsSaleRevenueDiffPrice fsSaleRevenueDiffPrice = this.getById(id);
86 89
         if(ObjectUtil.isEmpty(fsSaleRevenueDiffPrice)) {
87 90
             throw new CommonException("销售收入上缴-差额上缴不存在,id值为:{}", id);

+ 32 - 18
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/controller/FsSaleRevenueInspectionLossController.java

@@ -9,7 +9,8 @@
9 9
  * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10 10
  * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11 11
  * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
- */
12
+ *//*
13
+
13 14
 package com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.controller;
14 15
 
15 16
 import cn.dev33.satoken.annotation.SaCheckPermission;
@@ -37,12 +38,14 @@ import javax.annotation.Resource;
37 38
 import javax.validation.Valid;
38 39
 import javax.validation.constraints.NotEmpty;
39 40
 
41
+*/
40 42
 /**
41 43
  * 销售收入上缴-质检损益信息控制器
42 44
  *
43 45
  * @author QSHan
44
- * @date  2024/07/26 16:35
45
- */
46
+ * @date  2024/07/29 15:15
47
+ *//*
48
+
46 49
 @Api(tags = "销售收入上缴-质检损益信息控制器")
47 50
 @ApiSupport(author = "UNIS_TEAM", order = 1)
48 51
 @RestController
@@ -52,12 +55,14 @@ public class FsSaleRevenueInspectionLossController {
52 55
     @Resource
53 56
     private FsSaleRevenueInspectionLossService fsSaleRevenueInspectionLossService;
54 57
 
55
-    /**
58
+    */
59
+/**
56 60
      * 获取销售收入上缴-质检损益信息分页
57 61
      *
58 62
      * @author QSHan
59
-     * @date  2024/07/26 16:35
60
-     */
63
+     * @date  2024/07/29 15:15
64
+     *//*
65
+
61 66
     @ApiOperationSupport(order = 1)
62 67
     @ApiOperation("获取销售收入上缴-质检损益信息分页")
63 68
     @SaCheckPermission("/financialSupervision/fsSaleRevenueInspectionLoss/page")
@@ -66,12 +71,14 @@ public class FsSaleRevenueInspectionLossController {
66 71
         return CommonResult.data(fsSaleRevenueInspectionLossService.page(fsSaleRevenueInspectionLossPageParam));
67 72
     }
68 73
 
69
-    /**
74
+    */
75
+/**
70 76
      * 添加销售收入上缴-质检损益信息
71 77
      *
72 78
      * @author QSHan
73
-     * @date  2024/07/26 16:35
74
-     */
79
+     * @date  2024/07/29 15:15
80
+     *//*
81
+
75 82
     @ApiOperationSupport(order = 2)
76 83
     @ApiOperation("添加销售收入上缴-质检损益信息")
77 84
     @CommonLog("添加销售收入上缴-质检损益信息")
@@ -82,12 +89,14 @@ public class FsSaleRevenueInspectionLossController {
82 89
         return CommonResult.ok();
83 90
     }
84 91
 
85
-    /**
92
+    */
93
+/**
86 94
      * 编辑销售收入上缴-质检损益信息
87 95
      *
88 96
      * @author QSHan
89
-     * @date  2024/07/26 16:35
90
-     */
97
+     * @date  2024/07/29 15:15
98
+     *//*
99
+
91 100
     @ApiOperationSupport(order = 3)
92 101
     @ApiOperation("编辑销售收入上缴-质检损益信息")
93 102
     @CommonLog("编辑销售收入上缴-质检损益信息")
@@ -98,12 +107,14 @@ public class FsSaleRevenueInspectionLossController {
98 107
         return CommonResult.ok();
99 108
     }
100 109
 
101
-    /**
110
+    */
111
+/**
102 112
      * 删除销售收入上缴-质检损益信息
103 113
      *
104 114
      * @author QSHan
105
-     * @date  2024/07/26 16:35
106
-     */
115
+     * @date  2024/07/29 15:15
116
+     *//*
117
+
107 118
     @ApiOperationSupport(order = 4)
108 119
     @ApiOperation("删除销售收入上缴-质检损益信息")
109 120
     @CommonLog("删除销售收入上缴-质检损益信息")
@@ -115,12 +126,14 @@ public class FsSaleRevenueInspectionLossController {
115 126
         return CommonResult.ok();
116 127
     }
117 128
 
118
-    /**
129
+    */
130
+/**
119 131
      * 获取销售收入上缴-质检损益信息详情
120 132
      *
121 133
      * @author QSHan
122
-     * @date  2024/07/26 16:35
123
-     */
134
+     * @date  2024/07/29 15:15
135
+     *//*
136
+
124 137
     @ApiOperationSupport(order = 5)
125 138
     @ApiOperation("获取销售收入上缴-质检损益信息详情")
126 139
     @SaCheckPermission("/financialSupervision/fsSaleRevenueInspectionLoss/detail")
@@ -129,3 +142,4 @@ public class FsSaleRevenueInspectionLossController {
129 142
         return CommonResult.data(fsSaleRevenueInspectionLossService.detail(fsSaleRevenueInspectionLossIdParam));
130 143
     }
131 144
 }
145
+*/

+ 98 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/entity/FsSaleRevenueInspectionLoss.java

@@ -23,11 +23,108 @@ import java.util.Date;
23 23
  * 销售收入上缴-质检损益信息实体
24 24
  *
25 25
  * @author QSHan
26
- * @date  2024/07/26 16:35
26
+ * @date  2024/07/29 15:15
27 27
  **/
28 28
 @Getter
29 29
 @Setter
30 30
 @TableName("business_fs_sale_revenue_inspection_loss")
31 31
 public class FsSaleRevenueInspectionLoss {
32 32
 
33
+    /** 主键ID */
34
+    @TableId
35
+    @ApiModelProperty(value = "主键ID", position = 1)
36
+    private Integer id;
37
+
38
+    /** 创建人 */
39
+    @ApiModelProperty(value = "创建人", position = 2)
40
+    private String createname;
41
+
42
+    /** 创建日期 */
43
+    @ApiModelProperty(value = "创建日期", position = 3)
44
+    private Date createdate;
45
+
46
+    /** 更新人 */
47
+    @ApiModelProperty(value = "更新人", position = 4)
48
+    private String updatename;
49
+
50
+    /** 更新日期 */
51
+    @ApiModelProperty(value = "更新日期", position = 5)
52
+    private Date updatedate;
53
+
54
+    /** business_fs_sale_revenue的ID; */
55
+    @ApiModelProperty(value = "business_fs_sale_revenue的ID;", position = 6)
56
+    private Integer fsSaleRevenueId;
57
+
58
+    /** 出库质检报告;business_qc_quality_inspection的id; */
59
+    @ApiModelProperty(value = "出库质检报告;business_qc_quality_inspection的id;", position = 7)
60
+    private Integer qcQualityInspectionIdOut;
61
+
62
+    /** 入库质检报告;business_qc_quality_inspection的id; */
63
+    @ApiModelProperty(value = "入库质检报告;business_qc_quality_inspection的id;", position = 8)
64
+    private Integer qcQualityInspectionIdIn;
65
+
66
+    /** 损溢损失信息;business_gslr_loss_collect的id; */
67
+    @ApiModelProperty(value = "损溢损失信息;business_gslr_loss_collect的id;", position = 9)
68
+    private Integer gslrLossCollectId;
69
+
70
+    // 业务数据
71
+    @ApiModelProperty(value = "报告单号-入库单号")
72
+    @TableField(exist = false)
73
+    private String zjbgdhIn;
74
+
75
+    @ApiModelProperty(value = "仓房名称")
76
+    @TableField(exist = false)
77
+    private String storehouseName;
78
+
79
+    @ApiModelProperty(value = "货位名称")
80
+    @TableField(exist = false)
81
+    private String warehouseName;
82
+
83
+    @ApiModelProperty(value = "入仓杂质")
84
+    @TableField(exist = false)
85
+    private String zzIn;
86
+
87
+    @ApiModelProperty(value = "入仓水分")
88
+    @TableField(exist = false)
89
+    private String sfIn;
90
+
91
+    @ApiModelProperty(value = "报告单号-出库单号")
92
+    @TableField(exist = false)
93
+    private String zjbgdhOut;
94
+
95
+    @ApiModelProperty(value = "出仓杂质")
96
+    @TableField(exist = false)
97
+    private String zzOut;
98
+
99
+    @ApiModelProperty(value = "出仓水分")
100
+    @TableField(exist = false)
101
+    private String sfOut;
102
+
103
+    @ApiModelProperty(value = "实际损耗量(公斤)")
104
+    @TableField(exist = false)
105
+    private String actualLossQuantity;
106
+
107
+    @ApiModelProperty(value = "定额损耗小计(公斤)")
108
+    @TableField(exist = false)
109
+    private String quotaLoss;
110
+
111
+    @ApiModelProperty(value = "保管损耗(公斤)")
112
+    @TableField(exist = false)
113
+    private String naturalLoss;
114
+
115
+    @ApiModelProperty(value = "水分减量(公斤)")
116
+    @TableField(exist = false)
117
+    private String moistureLoss;
118
+
119
+    @ApiModelProperty(value = "杂质减量(公斤)")
120
+    @TableField(exist = false)
121
+    private String impurityReductionQuality;
122
+
123
+    @ApiModelProperty(value = "超耗数量(公斤)")
124
+    @TableField(exist = false)
125
+    private String excessLossQuantity;
126
+
127
+    @ApiModelProperty(value = "超耗原因")
128
+    @TableField(exist = false)
129
+    private String lossProfitReason;
33 130
 }

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/enums/FsSaleRevenueInspectionLossEnum.java

@@ -18,7 +18,7 @@ import lombok.Getter;
18 18
  * 销售收入上缴-质检损益信息枚举
19 19
  *
20 20
  * @author QSHan
21
- * @date  2024/07/26 16:35
21
+ * @date  2024/07/29 15:15
22 22
  **/
23 23
 @Getter
24 24
 public enum FsSaleRevenueInspectionLossEnum {

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/mapper/FsSaleRevenueInspectionLossMapper.java

@@ -19,7 +19,7 @@ import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.entity.
19 19
  * 销售收入上缴-质检损益信息Mapper接口
20 20
  *
21 21
  * @author QSHan
22
- * @date  2024/07/26 16:35
22
+ * @date  2024/07/29 15:15
23 23
  **/
24 24
 public interface FsSaleRevenueInspectionLossMapper extends BaseMapper<FsSaleRevenueInspectionLoss> {
25 25
 }

+ 33 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/param/FsSaleRevenueInspectionLossAddParam.java

@@ -25,10 +25,42 @@ import java.util.Date;
25 25
  * 销售收入上缴-质检损益信息添加参数
26 26
  *
27 27
  * @author QSHan
28
- * @date  2024/07/26 16:35
28
+ * @date  2024/07/29 15:15
29 29
  **/
30 30
 @Getter
31 31
 @Setter
32 32
 public class FsSaleRevenueInspectionLossAddParam {
33 33
 
34
+    /** 创建人 */
35
+    @ApiModelProperty(value = "创建人", position = 2)
36
+    private String createname;
37
+
38
+    /** 创建日期 */
39
+    @ApiModelProperty(value = "创建日期", position = 3)
40
+    private Date createdate;
41
+
42
+    /** 更新人 */
43
+    @ApiModelProperty(value = "更新人", position = 4)
44
+    private String updatename;
45
+
46
+    /** 更新日期 */
47
+    @ApiModelProperty(value = "更新日期", position = 5)
48
+    private Date updatedate;
49
+
50
+    /** business_fs_sale_revenue的ID; */
51
+    @ApiModelProperty(value = "business_fs_sale_revenue的ID;", position = 6)
52
+    private Integer fsSaleRevenueId;
53
+
54
+    /** 出库质检报告;business_qc_quality_inspection的id; */
55
+    @ApiModelProperty(value = "出库质检报告;business_qc_quality_inspection的id;", position = 7)
56
+    private Integer qcQualityInspectionIdOut;
57
+
58
+    /** 入库质检报告;business_qc_quality_inspection的id; */
59
+    @ApiModelProperty(value = "入库质检报告;business_qc_quality_inspection的id;", position = 8)
60
+    private Integer qcQualityInspectionIdIn;
61
+
62
+    /** 损溢损失信息;business_gslr_loss_collect的id; */
63
+    @ApiModelProperty(value = "损溢损失信息;business_gslr_loss_collect的id;", position = 9)
64
+    private Integer gslrLossCollectId;
65
+
34 66
 }

+ 38 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/param/FsSaleRevenueInspectionLossEditParam.java

@@ -25,10 +25,47 @@ import java.util.Date;
25 25
  * 销售收入上缴-质检损益信息编辑参数
26 26
  *
27 27
  * @author QSHan
28
- * @date  2024/07/26 16:35
28
+ * @date  2024/07/29 15:15
29 29
  **/
30 30
 @Getter
31 31
 @Setter
32 32
 public class FsSaleRevenueInspectionLossEditParam {
33 33
 
34
+    /** 主键ID */
35
+    @ApiModelProperty(value = "主键ID", required = true, position = 1)
36
+    @NotNull(message = "id不能为空")
37
+    private Integer id;
38
+
39
+    /** 创建人 */
40
+    @ApiModelProperty(value = "创建人", position = 2)
41
+    private String createname;
42
+
43
+    /** 创建日期 */
44
+    @ApiModelProperty(value = "创建日期", position = 3)
45
+    private Date createdate;
46
+
47
+    /** 更新人 */
48
+    @ApiModelProperty(value = "更新人", position = 4)
49
+    private String updatename;
50
+
51
+    /** 更新日期 */
52
+    @ApiModelProperty(value = "更新日期", position = 5)
53
+    private Date updatedate;
54
+
55
+    /** business_fs_sale_revenue的ID; */
56
+    @ApiModelProperty(value = "business_fs_sale_revenue的ID;", position = 6)
57
+    private Integer fsSaleRevenueId;
58
+
59
+    /** 出库质检报告;business_qc_quality_inspection的id; */
60
+    @ApiModelProperty(value = "出库质检报告;business_qc_quality_inspection的id;", position = 7)
61
+    private Integer qcQualityInspectionIdOut;
62
+
63
+    /** 入库质检报告;business_qc_quality_inspection的id; */
64
+    @ApiModelProperty(value = "入库质检报告;business_qc_quality_inspection的id;", position = 8)
65
+    private Integer qcQualityInspectionIdIn;
66
+
67
+    /** 损溢损失信息;business_gslr_loss_collect的id; */
68
+    @ApiModelProperty(value = "损溢损失信息;business_gslr_loss_collect的id;", position = 9)
69
+    private Integer gslrLossCollectId;
70
+
34 71
 }

+ 4 - 4
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/param/FsSaleRevenueInspectionLossIdParam.java

@@ -22,14 +22,14 @@ import javax.validation.constraints.NotBlank;
22 22
  * 销售收入上缴-质检损益信息Id参数
23 23
  *
24 24
  * @author QSHan
25
- * @date  2024/07/26 16:35
25
+ * @date  2024/07/29 15:15
26 26
  **/
27 27
 @Getter
28 28
 @Setter
29 29
 public class FsSaleRevenueInspectionLossIdParam {
30 30
 
31
-    /** id */
32
-    @ApiModelProperty(value = "id", required = true)
31
+    /** 主键ID */
32
+    @ApiModelProperty(value = "主键ID", required = true)
33 33
     @NotBlank(message = "id不能为空")
34
-    private String id;
34
+    private Integer id;
35 35
 }

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/param/FsSaleRevenueInspectionLossPageParam.java

@@ -22,7 +22,7 @@ import java.util.Date;
22 22
  * 销售收入上缴-质检损益信息查询参数
23 23
  *
24 24
  * @author QSHan
25
- * @date  2024/07/26 16:35
25
+ * @date  2024/07/29 15:15
26 26
  **/
27 27
 @Getter
28 28
 @Setter

+ 8 - 8
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/service/FsSaleRevenueInspectionLossService.java

@@ -26,7 +26,7 @@ import java.util.List;
26 26
  * 销售收入上缴-质检损益信息Service接口
27 27
  *
28 28
  * @author QSHan
29
- * @date  2024/07/26 16:35
29
+ * @date  2024/07/29 15:15
30 30
  **/
31 31
 public interface FsSaleRevenueInspectionLossService extends IService<FsSaleRevenueInspectionLoss> {
32 32
 
@@ -34,7 +34,7 @@ public interface FsSaleRevenueInspectionLossService extends IService<FsSaleReven
34 34
      * 获取销售收入上缴-质检损益信息分页
35 35
      *
36 36
      * @author QSHan
37
-     * @date  2024/07/26 16:35
37
+     * @date  2024/07/29 15:15
38 38
      */
39 39
     Page<FsSaleRevenueInspectionLoss> page(FsSaleRevenueInspectionLossPageParam fsSaleRevenueInspectionLossPageParam);
40 40
 
@@ -42,7 +42,7 @@ public interface FsSaleRevenueInspectionLossService extends IService<FsSaleReven
42 42
      * 添加销售收入上缴-质检损益信息
43 43
      *
44 44
      * @author QSHan
45
-     * @date  2024/07/26 16:35
45
+     * @date  2024/07/29 15:15
46 46
      */
47 47
     void add(FsSaleRevenueInspectionLossAddParam fsSaleRevenueInspectionLossAddParam);
48 48
 
@@ -50,7 +50,7 @@ public interface FsSaleRevenueInspectionLossService extends IService<FsSaleReven
50 50
      * 编辑销售收入上缴-质检损益信息
51 51
      *
52 52
      * @author QSHan
53
-     * @date  2024/07/26 16:35
53
+     * @date  2024/07/29 15:15
54 54
      */
55 55
     void edit(FsSaleRevenueInspectionLossEditParam fsSaleRevenueInspectionLossEditParam);
56 56
 
@@ -58,7 +58,7 @@ public interface FsSaleRevenueInspectionLossService extends IService<FsSaleReven
58 58
      * 删除销售收入上缴-质检损益信息
59 59
      *
60 60
      * @author QSHan
61
-     * @date  2024/07/26 16:35
61
+     * @date  2024/07/29 15:15
62 62
      */
63 63
     void delete(List<FsSaleRevenueInspectionLossIdParam> fsSaleRevenueInspectionLossIdParamList);
64 64
 
@@ -66,7 +66,7 @@ public interface FsSaleRevenueInspectionLossService extends IService<FsSaleReven
66 66
      * 获取销售收入上缴-质检损益信息详情
67 67
      *
68 68
      * @author QSHan
69
-     * @date  2024/07/26 16:35
69
+     * @date  2024/07/29 15:15
70 70
      */
71 71
     FsSaleRevenueInspectionLoss detail(FsSaleRevenueInspectionLossIdParam fsSaleRevenueInspectionLossIdParam);
72 72
 
@@ -74,7 +74,7 @@ public interface FsSaleRevenueInspectionLossService extends IService<FsSaleReven
74 74
      * 获取销售收入上缴-质检损益信息详情
75 75
      *
76 76
      * @author QSHan
77
-     * @date  2024/07/26 16:35
77
+     * @date  2024/07/29 15:15
78 78
      **/
79
-    FsSaleRevenueInspectionLoss queryEntity(String id);
79
+    FsSaleRevenueInspectionLoss queryEntity(Integer id);
80 80
 }

+ 5 - 2
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/service/impl/FsSaleRevenueInspectionLossServiceImpl.java

@@ -38,7 +38,7 @@ import java.util.List;
38 38
  * 销售收入上缴-质检损益信息Service接口实现类
39 39
  *
40 40
  * @author QSHan
41
- * @date  2024/07/26 16:35
41
+ * @date  2024/07/29 15:15
42 42
  **/
43 43
 @Service
44 44
 public class FsSaleRevenueInspectionLossServiceImpl extends ServiceImpl<FsSaleRevenueInspectionLossMapper, FsSaleRevenueInspectionLoss> implements FsSaleRevenueInspectionLossService {
@@ -66,6 +66,7 @@ public class FsSaleRevenueInspectionLossServiceImpl extends ServiceImpl<FsSaleRe
66 66
     @Transactional(rollbackFor = Exception.class)
67 67
     @Override
68 68
     public void edit(FsSaleRevenueInspectionLossEditParam fsSaleRevenueInspectionLossEditParam) {
69
+        FsSaleRevenueInspectionLoss fsSaleRevenueInspectionLoss = this.queryEntity(fsSaleRevenueInspectionLossEditParam.getId());
69 70
         BeanUtil.copyProperties(fsSaleRevenueInspectionLossEditParam, fsSaleRevenueInspectionLoss);
70 71
         this.updateById(fsSaleRevenueInspectionLoss);
71 72
     }
@@ -74,14 +75,16 @@ public class FsSaleRevenueInspectionLossServiceImpl extends ServiceImpl<FsSaleRe
74 75
     @Override
75 76
     public void delete(List<FsSaleRevenueInspectionLossIdParam> fsSaleRevenueInspectionLossIdParamList) {
76 77
         // 执行删除
78
+        this.removeByIds(CollStreamUtil.toList(fsSaleRevenueInspectionLossIdParamList, FsSaleRevenueInspectionLossIdParam::getId));
77 79
     }
78 80
 
79 81
     @Override
80 82
     public FsSaleRevenueInspectionLoss detail(FsSaleRevenueInspectionLossIdParam fsSaleRevenueInspectionLossIdParam) {
83
+        return this.queryEntity(fsSaleRevenueInspectionLossIdParam.getId());
81 84
     }
82 85
 
83 86
     @Override
84
-    public FsSaleRevenueInspectionLoss queryEntity(String id) {
87
+    public FsSaleRevenueInspectionLoss queryEntity(Integer id) {
85 88
         FsSaleRevenueInspectionLoss fsSaleRevenueInspectionLoss = this.getById(id);
86 89
         if(ObjectUtil.isEmpty(fsSaleRevenueInspectionLoss)) {
87 90
             throw new CommonException("销售收入上缴-质检损益信息不存在,id值为:{}", id);

+ 32 - 18
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/controller/FsSaleRevenueSettleController.java

@@ -9,7 +9,8 @@
9 9
  * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10 10
  * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11 11
  * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
- */
12
+ *//*
13
+
13 14
 package com.unis.financialSupervision.modular.fsSaleRevenueSettle.controller;
14 15
 
15 16
 import cn.dev33.satoken.annotation.SaCheckPermission;
@@ -37,12 +38,14 @@ import javax.annotation.Resource;
37 38
 import javax.validation.Valid;
38 39
 import javax.validation.constraints.NotEmpty;
39 40
 
41
+*/
40 42
 /**
41 43
  * 销售收入上缴-结算信息控制器
42 44
  *
43 45
  * @author QSHan
44
- * @date  2024/07/26 16:51
45
- */
46
+ * @date  2024/07/29 15:29
47
+ *//*
48
+
46 49
 @Api(tags = "销售收入上缴-结算信息控制器")
47 50
 @ApiSupport(author = "UNIS_TEAM", order = 1)
48 51
 @RestController
@@ -52,12 +55,14 @@ public class FsSaleRevenueSettleController {
52 55
     @Resource
53 56
     private FsSaleRevenueSettleService fsSaleRevenueSettleService;
54 57
 
55
-    /**
58
+    */
59
+/**
56 60
      * 获取销售收入上缴-结算信息分页
57 61
      *
58 62
      * @author QSHan
59
-     * @date  2024/07/26 16:51
60
-     */
63
+     * @date  2024/07/29 15:29
64
+     *//*
65
+
61 66
     @ApiOperationSupport(order = 1)
62 67
     @ApiOperation("获取销售收入上缴-结算信息分页")
63 68
     @SaCheckPermission("/financialSupervision/fsSaleRevenueSettle/page")
@@ -66,12 +71,14 @@ public class FsSaleRevenueSettleController {
66 71
         return CommonResult.data(fsSaleRevenueSettleService.page(fsSaleRevenueSettlePageParam));
67 72
     }
68 73
 
69
-    /**
74
+    */
75
+/**
70 76
      * 添加销售收入上缴-结算信息
71 77
      *
72 78
      * @author QSHan
73
-     * @date  2024/07/26 16:51
74
-     */
79
+     * @date  2024/07/29 15:29
80
+     *//*
81
+
75 82
     @ApiOperationSupport(order = 2)
76 83
     @ApiOperation("添加销售收入上缴-结算信息")
77 84
     @CommonLog("添加销售收入上缴-结算信息")
@@ -82,12 +89,14 @@ public class FsSaleRevenueSettleController {
82 89
         return CommonResult.ok();
83 90
     }
84 91
 
85
-    /**
92
+    */
93
+/**
86 94
      * 编辑销售收入上缴-结算信息
87 95
      *
88 96
      * @author QSHan
89
-     * @date  2024/07/26 16:51
90
-     */
97
+     * @date  2024/07/29 15:29
98
+     *//*
99
+
91 100
     @ApiOperationSupport(order = 3)
92 101
     @ApiOperation("编辑销售收入上缴-结算信息")
93 102
     @CommonLog("编辑销售收入上缴-结算信息")
@@ -98,12 +107,14 @@ public class FsSaleRevenueSettleController {
98 107
         return CommonResult.ok();
99 108
     }
100 109
 
101
-    /**
110
+    */
111
+/**
102 112
      * 删除销售收入上缴-结算信息
103 113
      *
104 114
      * @author QSHan
105
-     * @date  2024/07/26 16:51
106
-     */
115
+     * @date  2024/07/29 15:29
116
+     *//*
117
+
107 118
     @ApiOperationSupport(order = 4)
108 119
     @ApiOperation("删除销售收入上缴-结算信息")
109 120
     @CommonLog("删除销售收入上缴-结算信息")
@@ -115,12 +126,14 @@ public class FsSaleRevenueSettleController {
115 126
         return CommonResult.ok();
116 127
     }
117 128
 
118
-    /**
129
+    */
130
+/**
119 131
      * 获取销售收入上缴-结算信息详情
120 132
      *
121 133
      * @author QSHan
122
-     * @date  2024/07/26 16:51
123
-     */
134
+     * @date  2024/07/29 15:29
135
+     *//*
136
+
124 137
     @ApiOperationSupport(order = 5)
125 138
     @ApiOperation("获取销售收入上缴-结算信息详情")
126 139
     @SaCheckPermission("/financialSupervision/fsSaleRevenueSettle/detail")
@@ -129,3 +142,4 @@ public class FsSaleRevenueSettleController {
129 142
         return CommonResult.data(fsSaleRevenueSettleService.detail(fsSaleRevenueSettleIdParam));
130 143
     }
131 144
 }
145
+*/

+ 86 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/entity/FsSaleRevenueSettle.java

@@ -23,11 +23,96 @@ import java.util.Date;
23 23
  * 销售收入上缴-结算信息实体
24 24
  *
25 25
  * @author QSHan
26
- * @date  2024/07/26 16:51
26
+ * @date  2024/07/29 15:29
27 27
  **/
28 28
 @Getter
29 29
 @Setter
30 30
 @TableName("business_fs_sale_revenue_settle")
31 31
 public class FsSaleRevenueSettle {
32 32
 
33
+    /** 主键ID */
34
+    @TableId
35
+    @ApiModelProperty(value = "主键ID", position = 1)
36
+    private Integer id;
37
+
38
+    /** 创建人 */
39
+    @ApiModelProperty(value = "创建人", position = 2)
40
+    private String createname;
41
+
42
+    /** 创建日期 */
43
+    @ApiModelProperty(value = "创建日期", position = 3)
44
+    private Date createdate;
45
+
46
+    /** 更新人 */
47
+    @ApiModelProperty(value = "更新人", position = 4)
48
+    private String updatename;
49
+
50
+    /** 更新日期 */
51
+    @ApiModelProperty(value = "更新日期", position = 5)
52
+    private Date updatedate;
53
+
54
+    /** business_fs_sale_revenue的ID; */
55
+    @ApiModelProperty(value = "business_fs_sale_revenue的ID;", position = 6)
56
+    private Integer fsSaleRevenueId;
57
+
58
+    /** business_fs_out_confirm的ID; */
59
+    @ApiModelProperty(value = "business_fs_out_confirm的ID;", position = 7)
60
+    private Integer fsOutConfirmId;
61
+
62
+    /** 省平台修改-出库验收确认-销往单位 */
63
+    @ApiModelProperty(value = "省平台修改-出库验收确认-销往单位", position = 8)
64
+    private String provinceAcceptanceUnit;
65
+
66
+    /** 省平台修改-出库确认单-数量(吨) */
67
+    @ApiModelProperty(value = "省平台修改-出库确认单-数量(吨)", position = 9)
68
+    private BigDecimal provinceTotalSettleQuantity;
69
+
70
+    /** 省平台修改-出库确认单-金额,单位:元 */
71
+    @ApiModelProperty(value = "省平台修改-出库确认单-金额,单位:元", position = 10)
72
+    private BigDecimal provinceTotalSettleAmount;
73
+
74
+    /** 省平台修改-贷款收回情况-单位 */
75
+    @ApiModelProperty(value = "省平台修改-贷款收回情况-单位", position = 11)
76
+    private String provinceLoanRecoveryUnit;
77
+
78
+    /** 省平台修改-贷款收回情况-数量 */
79
+    @ApiModelProperty(value = "省平台修改-贷款收回情况-数量", position = 12)
80
+    private BigDecimal provinceLoanRecoveryQuantity;
81
+
82
+    /** 省平台修改-贷款收回情况-金额 */
83
+    @ApiModelProperty(value = "省平台修改-贷款收回情况-金额", position = 13)
84
+    private BigDecimal provinceLoanRecoveryAmount;
85
+
86
+    /** 省平台修改-销售发票情况-单位 */
87
+    @ApiModelProperty(value = "省平台修改-销售发票情况-单位", position = 14)
88
+    private String provinceInvoiceUnit;
89
+
90
+    /** 省平台修改-销售发票情况-发票数量 */
91
+    @ApiModelProperty(value = "省平台修改-销售发票情况-发票数量", position = 15)
92
+    private Integer provinceInvoiceQuantity;
93
+
94
+    /** 省平台修改-销售发票情况-发票单价 */
95
+    @ApiModelProperty(value = "省平台修改-销售发票情况-发票单价", position = 16)
96
+    private BigDecimal provinceInvoiceUnitPrice;
97
+
98
+    /** 省平台修改-销售发票情况-发票金额 */
99
+    @ApiModelProperty(value = "省平台修改-销售发票情况-发票金额", position = 17)
100
+    private BigDecimal provinceInvoiceAmount;
101
+
102
+    /** 省平台修改-贷款归还-日期 */
103
+    @ApiModelProperty(value = "省平台修改-贷款归还-日期", position = 18)
104
+    private Date provinceLoanReturnTime;
105
+
106
+    /** 省平台修改-贷款归还-金额 */
107
+    @ApiModelProperty(value = "省平台修改-贷款归还-金额", position = 19)
108
+    private BigDecimal provinceLoanReturnAmount;
109
+
110
+    // 业务数据
111
+    @ApiModelProperty(value = "出库验收确认-单位")
112
+    @TableField(exist = false)
113
+    private String orgName;
114
+
115
+    @ApiModelProperty(value = "贷款收回情况-日期")
116
+    @TableField(exist = false)
117
+    private Date loanReturnTime;
33 118
 }

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/enums/FsSaleRevenueSettleEnum.java

@@ -18,7 +18,7 @@ import lombok.Getter;
18 18
  * 销售收入上缴-结算信息枚举
19 19
  *
20 20
  * @author QSHan
21
- * @date  2024/07/26 16:51
21
+ * @date  2024/07/29 15:29
22 22
  **/
23 23
 @Getter
24 24
 public enum FsSaleRevenueSettleEnum {

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/mapper/FsSaleRevenueSettleMapper.java

@@ -19,7 +19,7 @@ import com.unis.financialSupervision.modular.fsSaleRevenueSettle.entity.FsSaleRe
19 19
  * 销售收入上缴-结算信息Mapper接口
20 20
  *
21 21
  * @author QSHan
22
- * @date  2024/07/26 16:51
22
+ * @date  2024/07/29 15:29
23 23
  **/
24 24
 public interface FsSaleRevenueSettleMapper extends BaseMapper<FsSaleRevenueSettle> {
25 25
 }

+ 73 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/param/FsSaleRevenueSettleAddParam.java

@@ -25,10 +25,82 @@ import java.util.Date;
25 25
  * 销售收入上缴-结算信息添加参数
26 26
  *
27 27
  * @author QSHan
28
- * @date  2024/07/26 16:51
28
+ * @date  2024/07/29 15:29
29 29
  **/
30 30
 @Getter
31 31
 @Setter
32 32
 public class FsSaleRevenueSettleAddParam {
33 33
 
34
+    /** 创建人 */
35
+    @ApiModelProperty(value = "创建人", position = 2)
36
+    private String createname;
37
+
38
+    /** 创建日期 */
39
+    @ApiModelProperty(value = "创建日期", position = 3)
40
+    private Date createdate;
41
+
42
+    /** 更新人 */
43
+    @ApiModelProperty(value = "更新人", position = 4)
44
+    private String updatename;
45
+
46
+    /** 更新日期 */
47
+    @ApiModelProperty(value = "更新日期", position = 5)
48
+    private Date updatedate;
49
+
50
+    /** business_fs_sale_revenue的ID; */
51
+    @ApiModelProperty(value = "business_fs_sale_revenue的ID;", position = 6)
52
+    private Integer fsSaleRevenueId;
53
+
54
+    /** business_fs_out_confirm的ID; */
55
+    @ApiModelProperty(value = "business_fs_out_confirm的ID;", position = 7)
56
+    private Integer fsOutConfirmId;
57
+
58
+    /** 省平台修改-出库验收确认-销往单位 */
59
+    @ApiModelProperty(value = "省平台修改-出库验收确认-销往单位", position = 8)
60
+    private String provinceAcceptanceUnit;
61
+
62
+    /** 省平台修改-出库确认单-数量(吨) */
63
+    @ApiModelProperty(value = "省平台修改-出库确认单-数量(吨)", position = 9)
64
+    private BigDecimal provinceTotalSettleQuantity;
65
+
66
+    /** 省平台修改-出库确认单-金额,单位:元 */
67
+    @ApiModelProperty(value = "省平台修改-出库确认单-金额,单位:元", position = 10)
68
+    private BigDecimal provinceTotalSettleAmount;
69
+
70
+    /** 省平台修改-贷款收回情况-单位 */
71
+    @ApiModelProperty(value = "省平台修改-贷款收回情况-单位", position = 11)
72
+    private String provinceLoanRecoveryUnit;
73
+
74
+    /** 省平台修改-贷款收回情况-数量 */
75
+    @ApiModelProperty(value = "省平台修改-贷款收回情况-数量", position = 12)
76
+    private BigDecimal provinceLoanRecoveryQuantity;
77
+
78
+    /** 省平台修改-贷款收回情况-金额 */
79
+    @ApiModelProperty(value = "省平台修改-贷款收回情况-金额", position = 13)
80
+    private BigDecimal provinceLoanRecoveryAmount;
81
+
82
+    /** 省平台修改-销售发票情况-单位 */
83
+    @ApiModelProperty(value = "省平台修改-销售发票情况-单位", position = 14)
84
+    private String provinceInvoiceUnit;
85
+
86
+    /** 省平台修改-销售发票情况-发票数量 */
87
+    @ApiModelProperty(value = "省平台修改-销售发票情况-发票数量", position = 15)
88
+    private Integer provinceInvoiceQuantity;
89
+
90
+    /** 省平台修改-销售发票情况-发票单价 */
91
+    @ApiModelProperty(value = "省平台修改-销售发票情况-发票单价", position = 16)
92
+    private BigDecimal provinceInvoiceUnitPrice;
93
+
94
+    /** 省平台修改-销售发票情况-发票金额 */
95
+    @ApiModelProperty(value = "省平台修改-销售发票情况-发票金额", position = 17)
96
+    private BigDecimal provinceInvoiceAmount;
97
+
98
+    /** 省平台修改-贷款归还-日期 */
99
+    @ApiModelProperty(value = "省平台修改-贷款归还-日期", position = 18)
100
+    private Date provinceLoanReturnTime;
101
+
102
+    /** 省平台修改-贷款归还-金额 */
103
+    @ApiModelProperty(value = "省平台修改-贷款归还-金额", position = 19)
104
+    private BigDecimal provinceLoanReturnAmount;
105
+
34 106
 }

+ 78 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/param/FsSaleRevenueSettleEditParam.java

@@ -25,10 +25,87 @@ import java.util.Date;
25 25
  * 销售收入上缴-结算信息编辑参数
26 26
  *
27 27
  * @author QSHan
28
- * @date  2024/07/26 16:51
28
+ * @date  2024/07/29 15:29
29 29
  **/
30 30
 @Getter
31 31
 @Setter
32 32
 public class FsSaleRevenueSettleEditParam {
33 33
 
34
+    /** 主键ID */
35
+    @ApiModelProperty(value = "主键ID", required = true, position = 1)
36
+    @NotNull(message = "id不能为空")
37
+    private Integer id;
38
+
39
+    /** 创建人 */
40
+    @ApiModelProperty(value = "创建人", position = 2)
41
+    private String createname;
42
+
43
+    /** 创建日期 */
44
+    @ApiModelProperty(value = "创建日期", position = 3)
45
+    private Date createdate;
46
+
47
+    /** 更新人 */
48
+    @ApiModelProperty(value = "更新人", position = 4)
49
+    private String updatename;
50
+
51
+    /** 更新日期 */
52
+    @ApiModelProperty(value = "更新日期", position = 5)
53
+    private Date updatedate;
54
+
55
+    /** business_fs_sale_revenue的ID; */
56
+    @ApiModelProperty(value = "business_fs_sale_revenue的ID;", position = 6)
57
+    private Integer fsSaleRevenueId;
58
+
59
+    /** business_fs_out_confirm的ID; */
60
+    @ApiModelProperty(value = "business_fs_out_confirm的ID;", position = 7)
61
+    private Integer fsOutConfirmId;
62
+
63
+    /** 省平台修改-出库验收确认-销往单位 */
64
+    @ApiModelProperty(value = "省平台修改-出库验收确认-销往单位", position = 8)
65
+    private String provinceAcceptanceUnit;
66
+
67
+    /** 省平台修改-出库确认单-数量(吨) */
68
+    @ApiModelProperty(value = "省平台修改-出库确认单-数量(吨)", position = 9)
69
+    private BigDecimal provinceTotalSettleQuantity;
70
+
71
+    /** 省平台修改-出库确认单-金额,单位:元 */
72
+    @ApiModelProperty(value = "省平台修改-出库确认单-金额,单位:元", position = 10)
73
+    private BigDecimal provinceTotalSettleAmount;
74
+
75
+    /** 省平台修改-贷款收回情况-单位 */
76
+    @ApiModelProperty(value = "省平台修改-贷款收回情况-单位", position = 11)
77
+    private String provinceLoanRecoveryUnit;
78
+
79
+    /** 省平台修改-贷款收回情况-数量 */
80
+    @ApiModelProperty(value = "省平台修改-贷款收回情况-数量", position = 12)
81
+    private BigDecimal provinceLoanRecoveryQuantity;
82
+
83
+    /** 省平台修改-贷款收回情况-金额 */
84
+    @ApiModelProperty(value = "省平台修改-贷款收回情况-金额", position = 13)
85
+    private BigDecimal provinceLoanRecoveryAmount;
86
+
87
+    /** 省平台修改-销售发票情况-单位 */
88
+    @ApiModelProperty(value = "省平台修改-销售发票情况-单位", position = 14)
89
+    private String provinceInvoiceUnit;
90
+
91
+    /** 省平台修改-销售发票情况-发票数量 */
92
+    @ApiModelProperty(value = "省平台修改-销售发票情况-发票数量", position = 15)
93
+    private Integer provinceInvoiceQuantity;
94
+
95
+    /** 省平台修改-销售发票情况-发票单价 */
96
+    @ApiModelProperty(value = "省平台修改-销售发票情况-发票单价", position = 16)
97
+    private BigDecimal provinceInvoiceUnitPrice;
98
+
99
+    /** 省平台修改-销售发票情况-发票金额 */
100
+    @ApiModelProperty(value = "省平台修改-销售发票情况-发票金额", position = 17)
101
+    private BigDecimal provinceInvoiceAmount;
102
+
103
+    /** 省平台修改-贷款归还-日期 */
104
+    @ApiModelProperty(value = "省平台修改-贷款归还-日期", position = 18)
105
+    private Date provinceLoanReturnTime;
106
+
107
+    /** 省平台修改-贷款归还-金额 */
108
+    @ApiModelProperty(value = "省平台修改-贷款归还-金额", position = 19)
109
+    private BigDecimal provinceLoanReturnAmount;
110
+
34 111
 }

+ 4 - 4
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/param/FsSaleRevenueSettleIdParam.java

@@ -22,14 +22,14 @@ import javax.validation.constraints.NotBlank;
22 22
  * 销售收入上缴-结算信息Id参数
23 23
  *
24 24
  * @author QSHan
25
- * @date  2024/07/26 16:51
25
+ * @date  2024/07/29 15:29
26 26
  **/
27 27
 @Getter
28 28
 @Setter
29 29
 public class FsSaleRevenueSettleIdParam {
30 30
 
31
-    /** id */
32
-    @ApiModelProperty(value = "id", required = true)
31
+    /** 主键ID */
32
+    @ApiModelProperty(value = "主键ID", required = true)
33 33
     @NotBlank(message = "id不能为空")
34
-    private String id;
34
+    private Integer id;
35 35
 }

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/param/FsSaleRevenueSettlePageParam.java

@@ -22,7 +22,7 @@ import java.util.Date;
22 22
  * 销售收入上缴-结算信息查询参数
23 23
  *
24 24
  * @author QSHan
25
- * @date  2024/07/26 16:51
25
+ * @date  2024/07/29 15:29
26 26
  **/
27 27
 @Getter
28 28
 @Setter

+ 8 - 8
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/service/FsSaleRevenueSettleService.java

@@ -26,7 +26,7 @@ import java.util.List;
26 26
  * 销售收入上缴-结算信息Service接口
27 27
  *
28 28
  * @author QSHan
29
- * @date  2024/07/26 16:51
29
+ * @date  2024/07/29 15:29
30 30
  **/
31 31
 public interface FsSaleRevenueSettleService extends IService<FsSaleRevenueSettle> {
32 32
 
@@ -34,7 +34,7 @@ public interface FsSaleRevenueSettleService extends IService<FsSaleRevenueSettle
34 34
      * 获取销售收入上缴-结算信息分页
35 35
      *
36 36
      * @author QSHan
37
-     * @date  2024/07/26 16:51
37
+     * @date  2024/07/29 15:29
38 38
      */
39 39
     Page<FsSaleRevenueSettle> page(FsSaleRevenueSettlePageParam fsSaleRevenueSettlePageParam);
40 40
 
@@ -42,7 +42,7 @@ public interface FsSaleRevenueSettleService extends IService<FsSaleRevenueSettle
42 42
      * 添加销售收入上缴-结算信息
43 43
      *
44 44
      * @author QSHan
45
-     * @date  2024/07/26 16:51
45
+     * @date  2024/07/29 15:29
46 46
      */
47 47
     void add(FsSaleRevenueSettleAddParam fsSaleRevenueSettleAddParam);
48 48
 
@@ -50,7 +50,7 @@ public interface FsSaleRevenueSettleService extends IService<FsSaleRevenueSettle
50 50
      * 编辑销售收入上缴-结算信息
51 51
      *
52 52
      * @author QSHan
53
-     * @date  2024/07/26 16:51
53
+     * @date  2024/07/29 15:29
54 54
      */
55 55
     void edit(FsSaleRevenueSettleEditParam fsSaleRevenueSettleEditParam);
56 56
 
@@ -58,7 +58,7 @@ public interface FsSaleRevenueSettleService extends IService<FsSaleRevenueSettle
58 58
      * 删除销售收入上缴-结算信息
59 59
      *
60 60
      * @author QSHan
61
-     * @date  2024/07/26 16:51
61
+     * @date  2024/07/29 15:29
62 62
      */
63 63
     void delete(List<FsSaleRevenueSettleIdParam> fsSaleRevenueSettleIdParamList);
64 64
 
@@ -66,7 +66,7 @@ public interface FsSaleRevenueSettleService extends IService<FsSaleRevenueSettle
66 66
      * 获取销售收入上缴-结算信息详情
67 67
      *
68 68
      * @author QSHan
69
-     * @date  2024/07/26 16:51
69
+     * @date  2024/07/29 15:29
70 70
      */
71 71
     FsSaleRevenueSettle detail(FsSaleRevenueSettleIdParam fsSaleRevenueSettleIdParam);
72 72
 
@@ -74,7 +74,7 @@ public interface FsSaleRevenueSettleService extends IService<FsSaleRevenueSettle
74 74
      * 获取销售收入上缴-结算信息详情
75 75
      *
76 76
      * @author QSHan
77
-     * @date  2024/07/26 16:51
77
+     * @date  2024/07/29 15:29
78 78
      **/
79
-    FsSaleRevenueSettle queryEntity(String id);
79
+    FsSaleRevenueSettle queryEntity(Integer id);
80 80
 }

+ 5 - 2
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/service/impl/FsSaleRevenueSettleServiceImpl.java

@@ -38,7 +38,7 @@ import java.util.List;
38 38
  * 销售收入上缴-结算信息Service接口实现类
39 39
  *
40 40
  * @author QSHan
41
- * @date  2024/07/26 16:51
41
+ * @date  2024/07/29 15:29
42 42
  **/
43 43
 @Service
44 44
 public class FsSaleRevenueSettleServiceImpl extends ServiceImpl<FsSaleRevenueSettleMapper, FsSaleRevenueSettle> implements FsSaleRevenueSettleService {
@@ -66,6 +66,7 @@ public class FsSaleRevenueSettleServiceImpl extends ServiceImpl<FsSaleRevenueSet
66 66
     @Transactional(rollbackFor = Exception.class)
67 67
     @Override
68 68
     public void edit(FsSaleRevenueSettleEditParam fsSaleRevenueSettleEditParam) {
69
+        FsSaleRevenueSettle fsSaleRevenueSettle = this.queryEntity(fsSaleRevenueSettleEditParam.getId());
69 70
         BeanUtil.copyProperties(fsSaleRevenueSettleEditParam, fsSaleRevenueSettle);
70 71
         this.updateById(fsSaleRevenueSettle);
71 72
     }
@@ -74,14 +75,16 @@ public class FsSaleRevenueSettleServiceImpl extends ServiceImpl<FsSaleRevenueSet
74 75
     @Override
75 76
     public void delete(List<FsSaleRevenueSettleIdParam> fsSaleRevenueSettleIdParamList) {
76 77
         // 执行删除
78
+        this.removeByIds(CollStreamUtil.toList(fsSaleRevenueSettleIdParamList, FsSaleRevenueSettleIdParam::getId));
77 79
     }
78 80
 
79 81
     @Override
80 82
     public FsSaleRevenueSettle detail(FsSaleRevenueSettleIdParam fsSaleRevenueSettleIdParam) {
83
+        return this.queryEntity(fsSaleRevenueSettleIdParam.getId());
81 84
     }
82 85
 
83 86
     @Override
84
-    public FsSaleRevenueSettle queryEntity(String id) {
87
+    public FsSaleRevenueSettle queryEntity(Integer id) {
85 88
         FsSaleRevenueSettle fsSaleRevenueSettle = this.getById(id);
86 89
         if(ObjectUtil.isEmpty(fsSaleRevenueSettle)) {
87 90
             throw new CommonException("销售收入上缴-结算信息不存在,id值为:{}", id);

+ 32 - 18
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/controller/FsSaleRevenueThreeConsistenceController.java

@@ -9,7 +9,8 @@
9 9
  * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10 10
  * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11 11
  * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
- */
12
+ *//*
13
+
13 14
 package com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.controller;
14 15
 
15 16
 import cn.dev33.satoken.annotation.SaCheckPermission;
@@ -37,12 +38,14 @@ import javax.annotation.Resource;
37 38
 import javax.validation.Valid;
38 39
 import javax.validation.constraints.NotEmpty;
39 40
 
41
+*/
40 42
 /**
41 43
  * 销售收入上缴-实际出库情况控制器
42 44
  *
43 45
  * @author QSHan
44
- * @date  2024/07/26 16:38
45
- */
46
+ * @date  2024/07/29 15:20
47
+ *//*
48
+
46 49
 @Api(tags = "销售收入上缴-实际出库情况控制器")
47 50
 @ApiSupport(author = "UNIS_TEAM", order = 1)
48 51
 @RestController
@@ -52,12 +55,14 @@ public class FsSaleRevenueThreeConsistenceController {
52 55
     @Resource
53 56
     private FsSaleRevenueThreeConsistenceService fsSaleRevenueThreeConsistenceService;
54 57
 
55
-    /**
58
+    */
59
+/**
56 60
      * 获取销售收入上缴-实际出库情况分页
57 61
      *
58 62
      * @author QSHan
59
-     * @date  2024/07/26 16:38
60
-     */
63
+     * @date  2024/07/29 15:20
64
+     *//*
65
+
61 66
     @ApiOperationSupport(order = 1)
62 67
     @ApiOperation("获取销售收入上缴-实际出库情况分页")
63 68
     @SaCheckPermission("/financialSupervision/fsSaleRevenueThreeConsistence/page")
@@ -66,12 +71,14 @@ public class FsSaleRevenueThreeConsistenceController {
66 71
         return CommonResult.data(fsSaleRevenueThreeConsistenceService.page(fsSaleRevenueThreeConsistencePageParam));
67 72
     }
68 73
 
69
-    /**
74
+    */
75
+/**
70 76
      * 添加销售收入上缴-实际出库情况
71 77
      *
72 78
      * @author QSHan
73
-     * @date  2024/07/26 16:38
74
-     */
79
+     * @date  2024/07/29 15:20
80
+     *//*
81
+
75 82
     @ApiOperationSupport(order = 2)
76 83
     @ApiOperation("添加销售收入上缴-实际出库情况")
77 84
     @CommonLog("添加销售收入上缴-实际出库情况")
@@ -82,12 +89,14 @@ public class FsSaleRevenueThreeConsistenceController {
82 89
         return CommonResult.ok();
83 90
     }
84 91
 
85
-    /**
92
+    */
93
+/**
86 94
      * 编辑销售收入上缴-实际出库情况
87 95
      *
88 96
      * @author QSHan
89
-     * @date  2024/07/26 16:38
90
-     */
97
+     * @date  2024/07/29 15:20
98
+     *//*
99
+
91 100
     @ApiOperationSupport(order = 3)
92 101
     @ApiOperation("编辑销售收入上缴-实际出库情况")
93 102
     @CommonLog("编辑销售收入上缴-实际出库情况")
@@ -98,12 +107,14 @@ public class FsSaleRevenueThreeConsistenceController {
98 107
         return CommonResult.ok();
99 108
     }
100 109
 
101
-    /**
110
+    */
111
+/**
102 112
      * 删除销售收入上缴-实际出库情况
103 113
      *
104 114
      * @author QSHan
105
-     * @date  2024/07/26 16:38
106
-     */
115
+     * @date  2024/07/29 15:20
116
+     *//*
117
+
107 118
     @ApiOperationSupport(order = 4)
108 119
     @ApiOperation("删除销售收入上缴-实际出库情况")
109 120
     @CommonLog("删除销售收入上缴-实际出库情况")
@@ -115,12 +126,14 @@ public class FsSaleRevenueThreeConsistenceController {
115 126
         return CommonResult.ok();
116 127
     }
117 128
 
118
-    /**
129
+    */
130
+/**
119 131
      * 获取销售收入上缴-实际出库情况详情
120 132
      *
121 133
      * @author QSHan
122
-     * @date  2024/07/26 16:38
123
-     */
134
+     * @date  2024/07/29 15:20
135
+     *//*
136
+
124 137
     @ApiOperationSupport(order = 5)
125 138
     @ApiOperation("获取销售收入上缴-实际出库情况详情")
126 139
     @SaCheckPermission("/financialSupervision/fsSaleRevenueThreeConsistence/detail")
@@ -129,3 +142,4 @@ public class FsSaleRevenueThreeConsistenceController {
129 142
         return CommonResult.data(fsSaleRevenueThreeConsistenceService.detail(fsSaleRevenueThreeConsistenceIdParam));
130 143
     }
131 144
 }
145
+*/

+ 105 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/entity/FsSaleRevenueThreeConsistence.java

@@ -23,11 +23,115 @@ import java.util.Date;
23 23
  * 销售收入上缴-实际出库情况实体
24 24
  *
25 25
  * @author QSHan
26
- * @date  2024/07/26 16:38
26
+ * @date  2024/07/29 15:20
27 27
  **/
28 28
 @Getter
29 29
 @Setter
30 30
 @TableName("business_fs_sale_revenue_three_consistence")
31 31
 public class FsSaleRevenueThreeConsistence {
32 32
 
33
+    /** 主键ID */
34
+    @TableId
35
+    @ApiModelProperty(value = "主键ID", position = 1)
36
+    private Integer id;
37
+
38
+    /** 创建人 */
39
+    @ApiModelProperty(value = "创建人", position = 2)
40
+    private String createname;
41
+
42
+    /** 创建日期 */
43
+    @ApiModelProperty(value = "创建日期", position = 3)
44
+    private Date createdate;
45
+
46
+    /** 更新人 */
47
+    @ApiModelProperty(value = "更新人", position = 4)
48
+    private String updatename;
49
+
50
+    /** 更新日期 */
51
+    @ApiModelProperty(value = "更新日期", position = 5)
52
+    private Date updatedate;
53
+
54
+    /** business_fs_sale_revenue的ID */
55
+    @ApiModelProperty(value = "business_fs_sale_revenue的ID", position = 6)
56
+    private Integer fsSaleRevenueId;
57
+
58
+    /** 年 */
59
+    @ApiModelProperty(value = "年", position = 7)
60
+    private Integer year;
61
+
62
+    /** 月份 */
63
+    @ApiModelProperty(value = "月份", position = 8)
64
+    private String month;
65
+
66
+    /** 出库情况-仓号;basic_storehouse的id;仓房id */
67
+    @ApiModelProperty(value = "出库情况-仓号;basic_storehouse的id;仓房id", position = 9)
68
+    private Integer basicStorehouseId;
69
+
70
+    /** basic_warehouse的id;货位id; */
71
+    @ApiModelProperty(value = "basic_warehouse的id;货位id;", position = 10)
72
+    private Integer warehouseId;
73
+
74
+    /** 出库情况-其中:损耗 */
75
+    @ApiModelProperty(value = "出库情况-其中:损耗", position = 11)
76
+    private BigDecimal loss;
77
+
78
+    /** 省平台修改-出库情况-其中:损耗 */
79
+    @ApiModelProperty(value = "省平台修改-出库情况-其中:损耗", position = 12)
80
+    private BigDecimal provinceLoss;
81
+
82
+    /** 出库情况-保管账数量 */
83
+    @ApiModelProperty(value = "出库情况-保管账数量", position = 13)
84
+    private BigDecimal custodyAccountQuantity;
85
+
86
+    /** 省平台修改-出库情况-保管账数量 */
87
+    @ApiModelProperty(value = "省平台修改-出库情况-保管账数量", position = 14)
88
+    private String provinceCustodyAccountQuantity;
89
+
90
+    /** 出库情况-统计账数量,单位:公斤; */
91
+    @ApiModelProperty(value = "出库情况-统计账数量,单位:公斤;", position = 15)
92
+    private BigDecimal statisticalAccountQuantity;
93
+
94
+    /** 省平台修改-出库情况-统计账数量,单位:公斤; */
95
+    @ApiModelProperty(value = "省平台修改-出库情况-统计账数量,单位:公斤;", position = 16)
96
+    private BigDecimal provinceStatisticalAccountQuantity;
97
+
98
+    /** 完成时间 */
99
+    @ApiModelProperty(value = "完成时间", position = 17)
100
+    private Date completeTime;
101
+
102
+    /** 省平台修改-完成时间 */
103
+    @ApiModelProperty(value = "省平台修改-完成时间", position = 18)
104
+    private Date provinceCompleteTime;
105
+
106
+    /** 会计账-数量,单位:公斤 */
107
+    @ApiModelProperty(value = "会计账-数量,单位:公斤", position = 19)
108
+    private BigDecimal accountingQuantity;
109
+
110
+    /** 省平台修改-会计账-数量,单位:公斤; */
111
+    @ApiModelProperty(value = "省平台修改-会计账-数量,单位:公斤;", position = 20)
112
+    private BigDecimal provinceAccountingQuantity;
113
+
114
+    /** 会计账-单价,单位:元/公斤 */
115
+    @ApiModelProperty(value = "会计账-单价,单位:元/公斤", position = 21)
116
+    private BigDecimal accountingUnitPrice;
117
+
118
+    /** 省平台修改-会计账-单价,单位:元/公斤 */
119
+    @ApiModelProperty(value = "省平台修改-会计账-单价,单位:元/公斤", position = 22)
120
+    private BigDecimal provinceAccountingUnitPrice;
121
+
122
+    /** 会计账-金额,单位:元 */
123
+    @ApiModelProperty(value = "会计账-金额,单位:元", position = 23)
124
+    private BigDecimal accountingAmount;
125
+
126
+    /** 省平台修改-会计账-金额,单位:元 */
127
+    @ApiModelProperty(value = "省平台修改-会计账-金额,单位:元", position = 24)
128
+    private BigDecimal provinceAccountingAmount;
129
+
130
+    @ApiModelProperty(value = "仓房名称")
131
+    @TableField(exist = false)
132
+    private String storehouseName;
133
+
134
+    @ApiModelProperty(value = "货位名称")
135
+    @TableField(exist = false)
136
+    private String warehouseName;
33 137
 }

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/enums/FsSaleRevenueThreeConsistenceEnum.java

@@ -18,7 +18,7 @@ import lombok.Getter;
18 18
  * 销售收入上缴-实际出库情况枚举
19 19
  *
20 20
  * @author QSHan
21
- * @date  2024/07/26 16:38
21
+ * @date  2024/07/29 15:20
22 22
  **/
23 23
 @Getter
24 24
 public enum FsSaleRevenueThreeConsistenceEnum {

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/mapper/FsSaleRevenueThreeConsistenceMapper.java

@@ -19,7 +19,7 @@ import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.entit
19 19
  * 销售收入上缴-实际出库情况Mapper接口
20 20
  *
21 21
  * @author QSHan
22
- * @date  2024/07/26 16:38
22
+ * @date  2024/07/29 15:20
23 23
  **/
24 24
 public interface FsSaleRevenueThreeConsistenceMapper extends BaseMapper<FsSaleRevenueThreeConsistence> {
25 25
 }

+ 93 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/param/FsSaleRevenueThreeConsistenceAddParam.java

@@ -25,10 +25,102 @@ import java.util.Date;
25 25
  * 销售收入上缴-实际出库情况添加参数
26 26
  *
27 27
  * @author QSHan
28
- * @date  2024/07/26 16:38
28
+ * @date  2024/07/29 15:20
29 29
  **/
30 30
 @Getter
31 31
 @Setter
32 32
 public class FsSaleRevenueThreeConsistenceAddParam {
33 33
 
34
+    /** 创建人 */
35
+    @ApiModelProperty(value = "创建人", position = 2)
36
+    private String createname;
37
+
38
+    /** 创建日期 */
39
+    @ApiModelProperty(value = "创建日期", position = 3)
40
+    private Date createdate;
41
+
42
+    /** 更新人 */
43
+    @ApiModelProperty(value = "更新人", position = 4)
44
+    private String updatename;
45
+
46
+    /** 更新日期 */
47
+    @ApiModelProperty(value = "更新日期", position = 5)
48
+    private Date updatedate;
49
+
50
+    /** business_fs_sale_revenue的ID */
51
+    @ApiModelProperty(value = "business_fs_sale_revenue的ID", position = 6)
52
+    private Integer fsSaleRevenueId;
53
+
54
+    /** 年 */
55
+    @ApiModelProperty(value = "年", position = 7)
56
+    private Date year;
57
+
58
+    /** 月份 */
59
+    @ApiModelProperty(value = "月份", position = 8)
60
+    private String month;
61
+
62
+    /** 出库情况-仓号;basic_storehouse的id;仓房id */
63
+    @ApiModelProperty(value = "出库情况-仓号;basic_storehouse的id;仓房id", position = 9)
64
+    private Integer basicStorehouseId;
65
+
66
+    /** basic_warehouse的id;货位id; */
67
+    @ApiModelProperty(value = "basic_warehouse的id;货位id;", position = 10)
68
+    private Integer warehouseId;
69
+
70
+    /** 出库情况-其中:损耗 */
71
+    @ApiModelProperty(value = "出库情况-其中:损耗", position = 11)
72
+    private BigDecimal loss;
73
+
74
+    /** 省平台修改-出库情况-其中:损耗 */
75
+    @ApiModelProperty(value = "省平台修改-出库情况-其中:损耗", position = 12)
76
+    private BigDecimal provinceLoss;
77
+
78
+    /** 出库情况-保管账数量 */
79
+    @ApiModelProperty(value = "出库情况-保管账数量", position = 13)
80
+    private BigDecimal custodyAccountQuantity;
81
+
82
+    /** 省平台修改-出库情况-保管账数量 */
83
+    @ApiModelProperty(value = "省平台修改-出库情况-保管账数量", position = 14)
84
+    private String provinceCustodyAccountQuantity;
85
+
86
+    /** 出库情况-统计账数量,单位:公斤; */
87
+    @ApiModelProperty(value = "出库情况-统计账数量,单位:公斤;", position = 15)
88
+    private BigDecimal statisticalAccountQuantity;
89
+
90
+    /** 省平台修改-出库情况-统计账数量,单位:公斤; */
91
+    @ApiModelProperty(value = "省平台修改-出库情况-统计账数量,单位:公斤;", position = 16)
92
+    private BigDecimal provinceStatisticalAccountQuantity;
93
+
94
+    /** 完成时间 */
95
+    @ApiModelProperty(value = "完成时间", position = 17)
96
+    private Date completeTime;
97
+
98
+    /** 省平台修改-完成时间 */
99
+    @ApiModelProperty(value = "省平台修改-完成时间", position = 18)
100
+    private Date provinceCompleteTime;
101
+
102
+    /** 会计账-数量,单位:公斤 */
103
+    @ApiModelProperty(value = "会计账-数量,单位:公斤", position = 19)
104
+    private BigDecimal accountingQuantity;
105
+
106
+    /** 省平台修改-会计账-数量,单位:公斤; */
107
+    @ApiModelProperty(value = "省平台修改-会计账-数量,单位:公斤;", position = 20)
108
+    private BigDecimal provinceAccountingQuantity;
109
+
110
+    /** 会计账-单价,单位:元/公斤 */
111
+    @ApiModelProperty(value = "会计账-单价,单位:元/公斤", position = 21)
112
+    private BigDecimal accountingUnitPrice;
113
+
114
+    /** 省平台修改-会计账-单价,单位:元/公斤 */
115
+    @ApiModelProperty(value = "省平台修改-会计账-单价,单位:元/公斤", position = 22)
116
+    private BigDecimal provinceAccountingUnitPrice;
117
+
118
+    /** 会计账-金额,单位:元 */
119
+    @ApiModelProperty(value = "会计账-金额,单位:元", position = 23)
120
+    private BigDecimal accountingAmount;
121
+
122
+    /** 省平台修改-会计账-金额,单位:元 */
123
+    @ApiModelProperty(value = "省平台修改-会计账-金额,单位:元", position = 24)
124
+    private BigDecimal provinceAccountingAmount;
125
+
34 126
 }

+ 98 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/param/FsSaleRevenueThreeConsistenceEditParam.java

@@ -25,10 +25,107 @@ import java.util.Date;
25 25
  * 销售收入上缴-实际出库情况编辑参数
26 26
  *
27 27
  * @author QSHan
28
- * @date  2024/07/26 16:38
28
+ * @date  2024/07/29 15:20
29 29
  **/
30 30
 @Getter
31 31
 @Setter
32 32
 public class FsSaleRevenueThreeConsistenceEditParam {
33 33
 
34
+    /** 主键ID */
35
+    @ApiModelProperty(value = "主键ID", required = true, position = 1)
36
+    @NotNull(message = "id不能为空")
37
+    private Integer id;
38
+
39
+    /** 创建人 */
40
+    @ApiModelProperty(value = "创建人", position = 2)
41
+    private String createname;
42
+
43
+    /** 创建日期 */
44
+    @ApiModelProperty(value = "创建日期", position = 3)
45
+    private Date createdate;
46
+
47
+    /** 更新人 */
48
+    @ApiModelProperty(value = "更新人", position = 4)
49
+    private String updatename;
50
+
51
+    /** 更新日期 */
52
+    @ApiModelProperty(value = "更新日期", position = 5)
53
+    private Date updatedate;
54
+
55
+    /** business_fs_sale_revenue的ID */
56
+    @ApiModelProperty(value = "business_fs_sale_revenue的ID", position = 6)
57
+    private Integer fsSaleRevenueId;
58
+
59
+    /** 年 */
60
+    @ApiModelProperty(value = "年", position = 7)
61
+    private Date year;
62
+
63
+    /** 月份 */
64
+    @ApiModelProperty(value = "月份", position = 8)
65
+    private String month;
66
+
67
+    /** 出库情况-仓号;basic_storehouse的id;仓房id */
68
+    @ApiModelProperty(value = "出库情况-仓号;basic_storehouse的id;仓房id", position = 9)
69
+    private Integer basicStorehouseId;
70
+
71
+    /** basic_warehouse的id;货位id; */
72
+    @ApiModelProperty(value = "basic_warehouse的id;货位id;", position = 10)
73
+    private Integer warehouseId;
74
+
75
+    /** 出库情况-其中:损耗 */
76
+    @ApiModelProperty(value = "出库情况-其中:损耗", position = 11)
77
+    private BigDecimal loss;
78
+
79
+    /** 省平台修改-出库情况-其中:损耗 */
80
+    @ApiModelProperty(value = "省平台修改-出库情况-其中:损耗", position = 12)
81
+    private BigDecimal provinceLoss;
82
+
83
+    /** 出库情况-保管账数量 */
84
+    @ApiModelProperty(value = "出库情况-保管账数量", position = 13)
85
+    private BigDecimal custodyAccountQuantity;
86
+
87
+    /** 省平台修改-出库情况-保管账数量 */
88
+    @ApiModelProperty(value = "省平台修改-出库情况-保管账数量", position = 14)
89
+    private String provinceCustodyAccountQuantity;
90
+
91
+    /** 出库情况-统计账数量,单位:公斤; */
92
+    @ApiModelProperty(value = "出库情况-统计账数量,单位:公斤;", position = 15)
93
+    private BigDecimal statisticalAccountQuantity;
94
+
95
+    /** 省平台修改-出库情况-统计账数量,单位:公斤; */
96
+    @ApiModelProperty(value = "省平台修改-出库情况-统计账数量,单位:公斤;", position = 16)
97
+    private BigDecimal provinceStatisticalAccountQuantity;
98
+
99
+    /** 完成时间 */
100
+    @ApiModelProperty(value = "完成时间", position = 17)
101
+    private Date completeTime;
102
+
103
+    /** 省平台修改-完成时间 */
104
+    @ApiModelProperty(value = "省平台修改-完成时间", position = 18)
105
+    private Date provinceCompleteTime;
106
+
107
+    /** 会计账-数量,单位:公斤 */
108
+    @ApiModelProperty(value = "会计账-数量,单位:公斤", position = 19)
109
+    private BigDecimal accountingQuantity;
110
+
111
+    /** 省平台修改-会计账-数量,单位:公斤; */
112
+    @ApiModelProperty(value = "省平台修改-会计账-数量,单位:公斤;", position = 20)
113
+    private BigDecimal provinceAccountingQuantity;
114
+
115
+    /** 会计账-单价,单位:元/公斤 */
116
+    @ApiModelProperty(value = "会计账-单价,单位:元/公斤", position = 21)
117
+    private BigDecimal accountingUnitPrice;
118
+
119
+    /** 省平台修改-会计账-单价,单位:元/公斤 */
120
+    @ApiModelProperty(value = "省平台修改-会计账-单价,单位:元/公斤", position = 22)
121
+    private BigDecimal provinceAccountingUnitPrice;
122
+
123
+    /** 会计账-金额,单位:元 */
124
+    @ApiModelProperty(value = "会计账-金额,单位:元", position = 23)
125
+    private BigDecimal accountingAmount;
126
+
127
+    /** 省平台修改-会计账-金额,单位:元 */
128
+    @ApiModelProperty(value = "省平台修改-会计账-金额,单位:元", position = 24)
129
+    private BigDecimal provinceAccountingAmount;
130
+
34 131
 }

+ 4 - 4
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/param/FsSaleRevenueThreeConsistenceIdParam.java

@@ -22,14 +22,14 @@ import javax.validation.constraints.NotBlank;
22 22
  * 销售收入上缴-实际出库情况Id参数
23 23
  *
24 24
  * @author QSHan
25
- * @date  2024/07/26 16:38
25
+ * @date  2024/07/29 15:20
26 26
  **/
27 27
 @Getter
28 28
 @Setter
29 29
 public class FsSaleRevenueThreeConsistenceIdParam {
30 30
 
31
-    /** id */
32
-    @ApiModelProperty(value = "id", required = true)
31
+    /** 主键ID */
32
+    @ApiModelProperty(value = "主键ID", required = true)
33 33
     @NotBlank(message = "id不能为空")
34
-    private String id;
34
+    private Integer id;
35 35
 }

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/param/FsSaleRevenueThreeConsistencePageParam.java

@@ -22,7 +22,7 @@ import java.util.Date;
22 22
  * 销售收入上缴-实际出库情况查询参数
23 23
  *
24 24
  * @author QSHan
25
- * @date  2024/07/26 16:38
25
+ * @date  2024/07/29 15:20
26 26
  **/
27 27
 @Getter
28 28
 @Setter

+ 8 - 8
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/service/FsSaleRevenueThreeConsistenceService.java

@@ -26,7 +26,7 @@ import java.util.List;
26 26
  * 销售收入上缴-实际出库情况Service接口
27 27
  *
28 28
  * @author QSHan
29
- * @date  2024/07/26 16:38
29
+ * @date  2024/07/29 15:20
30 30
  **/
31 31
 public interface FsSaleRevenueThreeConsistenceService extends IService<FsSaleRevenueThreeConsistence> {
32 32
 
@@ -34,7 +34,7 @@ public interface FsSaleRevenueThreeConsistenceService extends IService<FsSaleRev
34 34
      * 获取销售收入上缴-实际出库情况分页
35 35
      *
36 36
      * @author QSHan
37
-     * @date  2024/07/26 16:38
37
+     * @date  2024/07/29 15:20
38 38
      */
39 39
     Page<FsSaleRevenueThreeConsistence> page(FsSaleRevenueThreeConsistencePageParam fsSaleRevenueThreeConsistencePageParam);
40 40
 
@@ -42,7 +42,7 @@ public interface FsSaleRevenueThreeConsistenceService extends IService<FsSaleRev
42 42
      * 添加销售收入上缴-实际出库情况
43 43
      *
44 44
      * @author QSHan
45
-     * @date  2024/07/26 16:38
45
+     * @date  2024/07/29 15:20
46 46
      */
47 47
     void add(FsSaleRevenueThreeConsistenceAddParam fsSaleRevenueThreeConsistenceAddParam);
48 48
 
@@ -50,7 +50,7 @@ public interface FsSaleRevenueThreeConsistenceService extends IService<FsSaleRev
50 50
      * 编辑销售收入上缴-实际出库情况
51 51
      *
52 52
      * @author QSHan
53
-     * @date  2024/07/26 16:38
53
+     * @date  2024/07/29 15:20
54 54
      */
55 55
     void edit(FsSaleRevenueThreeConsistenceEditParam fsSaleRevenueThreeConsistenceEditParam);
56 56
 
@@ -58,7 +58,7 @@ public interface FsSaleRevenueThreeConsistenceService extends IService<FsSaleRev
58 58
      * 删除销售收入上缴-实际出库情况
59 59
      *
60 60
      * @author QSHan
61
-     * @date  2024/07/26 16:38
61
+     * @date  2024/07/29 15:20
62 62
      */
63 63
     void delete(List<FsSaleRevenueThreeConsistenceIdParam> fsSaleRevenueThreeConsistenceIdParamList);
64 64
 
@@ -66,7 +66,7 @@ public interface FsSaleRevenueThreeConsistenceService extends IService<FsSaleRev
66 66
      * 获取销售收入上缴-实际出库情况详情
67 67
      *
68 68
      * @author QSHan
69
-     * @date  2024/07/26 16:38
69
+     * @date  2024/07/29 15:20
70 70
      */
71 71
     FsSaleRevenueThreeConsistence detail(FsSaleRevenueThreeConsistenceIdParam fsSaleRevenueThreeConsistenceIdParam);
72 72
 
@@ -74,7 +74,7 @@ public interface FsSaleRevenueThreeConsistenceService extends IService<FsSaleRev
74 74
      * 获取销售收入上缴-实际出库情况详情
75 75
      *
76 76
      * @author QSHan
77
-     * @date  2024/07/26 16:38
77
+     * @date  2024/07/29 15:20
78 78
      **/
79
-    FsSaleRevenueThreeConsistence queryEntity(String id);
79
+    FsSaleRevenueThreeConsistence queryEntity(Integer id);
80 80
 }

+ 5 - 2
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/service/impl/FsSaleRevenueThreeConsistenceServiceImpl.java

@@ -38,7 +38,7 @@ import java.util.List;
38 38
  * 销售收入上缴-实际出库情况Service接口实现类
39 39
  *
40 40
  * @author QSHan
41
- * @date  2024/07/26 16:38
41
+ * @date  2024/07/29 15:20
42 42
  **/
43 43
 @Service
44 44
 public class FsSaleRevenueThreeConsistenceServiceImpl extends ServiceImpl<FsSaleRevenueThreeConsistenceMapper, FsSaleRevenueThreeConsistence> implements FsSaleRevenueThreeConsistenceService {
@@ -66,6 +66,7 @@ public class FsSaleRevenueThreeConsistenceServiceImpl extends ServiceImpl<FsSale
66 66
     @Transactional(rollbackFor = Exception.class)
67 67
     @Override
68 68
     public void edit(FsSaleRevenueThreeConsistenceEditParam fsSaleRevenueThreeConsistenceEditParam) {
69
+        FsSaleRevenueThreeConsistence fsSaleRevenueThreeConsistence = this.queryEntity(fsSaleRevenueThreeConsistenceEditParam.getId());
69 70
         BeanUtil.copyProperties(fsSaleRevenueThreeConsistenceEditParam, fsSaleRevenueThreeConsistence);
70 71
         this.updateById(fsSaleRevenueThreeConsistence);
71 72
     }
@@ -74,14 +75,16 @@ public class FsSaleRevenueThreeConsistenceServiceImpl extends ServiceImpl<FsSale
74 75
     @Override
75 76
     public void delete(List<FsSaleRevenueThreeConsistenceIdParam> fsSaleRevenueThreeConsistenceIdParamList) {
76 77
         // 执行删除
78
+        this.removeByIds(CollStreamUtil.toList(fsSaleRevenueThreeConsistenceIdParamList, FsSaleRevenueThreeConsistenceIdParam::getId));
77 79
     }
78 80
 
79 81
     @Override
80 82
     public FsSaleRevenueThreeConsistence detail(FsSaleRevenueThreeConsistenceIdParam fsSaleRevenueThreeConsistenceIdParam) {
83
+        return this.queryEntity(fsSaleRevenueThreeConsistenceIdParam.getId());
81 84
     }
82 85
 
83 86
     @Override
84
-    public FsSaleRevenueThreeConsistence queryEntity(String id) {
87
+    public FsSaleRevenueThreeConsistence queryEntity(Integer id) {
85 88
         FsSaleRevenueThreeConsistence fsSaleRevenueThreeConsistence = this.getById(id);
86 89
         if(ObjectUtil.isEmpty(fsSaleRevenueThreeConsistence)) {
87 90
             throw new CommonException("销售收入上缴-实际出库情况不存在,id值为:{}", id);

+ 32 - 18
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/controller/FsSaleRevenueThreeConsistenceAccountController.java

@@ -9,7 +9,8 @@
9 9
  * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10 10
  * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11 11
  * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
- */
12
+ *//*
13
+
13 14
 package com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.controller;
14 15
 
15 16
 import cn.dev33.satoken.annotation.SaCheckPermission;
@@ -37,12 +38,14 @@ import javax.annotation.Resource;
37 38
 import javax.validation.Valid;
38 39
 import javax.validation.constraints.NotEmpty;
39 40
 
41
+*/
40 42
 /**
41 43
  * 销售收入上缴-会计账控制器
42 44
  *
43 45
  * @author QSHan
44
- * @date  2024/07/26 16:47
45
- */
46
+ * @date  2024/07/29 15:23
47
+ *//*
48
+
46 49
 @Api(tags = "销售收入上缴-会计账控制器")
47 50
 @ApiSupport(author = "UNIS_TEAM", order = 1)
48 51
 @RestController
@@ -52,12 +55,14 @@ public class FsSaleRevenueThreeConsistenceAccountController {
52 55
     @Resource
53 56
     private FsSaleRevenueThreeConsistenceAccountService fsSaleRevenueThreeConsistenceAccountService;
54 57
 
55
-    /**
58
+    */
59
+/**
56 60
      * 获取销售收入上缴-会计账分页
57 61
      *
58 62
      * @author QSHan
59
-     * @date  2024/07/26 16:47
60
-     */
63
+     * @date  2024/07/29 15:23
64
+     *//*
65
+
61 66
     @ApiOperationSupport(order = 1)
62 67
     @ApiOperation("获取销售收入上缴-会计账分页")
63 68
     @SaCheckPermission("/financialSupervision/fsSaleRevenueThreeConsistenceAccount/page")
@@ -66,12 +71,14 @@ public class FsSaleRevenueThreeConsistenceAccountController {
66 71
         return CommonResult.data(fsSaleRevenueThreeConsistenceAccountService.page(fsSaleRevenueThreeConsistenceAccountPageParam));
67 72
     }
68 73
 
69
-    /**
74
+    */
75
+/**
70 76
      * 添加销售收入上缴-会计账
71 77
      *
72 78
      * @author QSHan
73
-     * @date  2024/07/26 16:47
74
-     */
79
+     * @date  2024/07/29 15:23
80
+     *//*
81
+
75 82
     @ApiOperationSupport(order = 2)
76 83
     @ApiOperation("添加销售收入上缴-会计账")
77 84
     @CommonLog("添加销售收入上缴-会计账")
@@ -82,12 +89,14 @@ public class FsSaleRevenueThreeConsistenceAccountController {
82 89
         return CommonResult.ok();
83 90
     }
84 91
 
85
-    /**
92
+    */
93
+/**
86 94
      * 编辑销售收入上缴-会计账
87 95
      *
88 96
      * @author QSHan
89
-     * @date  2024/07/26 16:47
90
-     */
97
+     * @date  2024/07/29 15:23
98
+     *//*
99
+
91 100
     @ApiOperationSupport(order = 3)
92 101
     @ApiOperation("编辑销售收入上缴-会计账")
93 102
     @CommonLog("编辑销售收入上缴-会计账")
@@ -98,12 +107,14 @@ public class FsSaleRevenueThreeConsistenceAccountController {
98 107
         return CommonResult.ok();
99 108
     }
100 109
 
101
-    /**
110
+    */
111
+/**
102 112
      * 删除销售收入上缴-会计账
103 113
      *
104 114
      * @author QSHan
105
-     * @date  2024/07/26 16:47
106
-     */
115
+     * @date  2024/07/29 15:23
116
+     *//*
117
+
107 118
     @ApiOperationSupport(order = 4)
108 119
     @ApiOperation("删除销售收入上缴-会计账")
109 120
     @CommonLog("删除销售收入上缴-会计账")
@@ -115,12 +126,14 @@ public class FsSaleRevenueThreeConsistenceAccountController {
115 126
         return CommonResult.ok();
116 127
     }
117 128
 
118
-    /**
129
+    */
130
+/**
119 131
      * 获取销售收入上缴-会计账详情
120 132
      *
121 133
      * @author QSHan
122
-     * @date  2024/07/26 16:47
123
-     */
134
+     * @date  2024/07/29 15:23
135
+     *//*
136
+
124 137
     @ApiOperationSupport(order = 5)
125 138
     @ApiOperation("获取销售收入上缴-会计账详情")
126 139
     @SaCheckPermission("/financialSupervision/fsSaleRevenueThreeConsistenceAccount/detail")
@@ -129,3 +142,4 @@ public class FsSaleRevenueThreeConsistenceAccountController {
129 142
         return CommonResult.data(fsSaleRevenueThreeConsistenceAccountService.detail(fsSaleRevenueThreeConsistenceAccountIdParam));
130 143
     }
131 144
 }
145
+*/

+ 57 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/entity/FsSaleRevenueThreeConsistenceAccount.java

@@ -23,11 +23,67 @@ import java.util.Date;
23 23
  * 销售收入上缴-会计账实体
24 24
  *
25 25
  * @author QSHan
26
- * @date  2024/07/26 16:47
26
+ * @date  2024/07/29 15:23
27 27
  **/
28 28
 @Getter
29 29
 @Setter
30 30
 @TableName("business_fs_sale_revenue_three_consistence_account")
31 31
 public class FsSaleRevenueThreeConsistenceAccount {
32 32
 
33
+    /** 主键ID */
34
+    @TableId
35
+    @ApiModelProperty(value = "主键ID", position = 1)
36
+    private Integer id;
37
+
38
+    /** 创建人 */
39
+    @ApiModelProperty(value = "创建人", position = 2)
40
+    private String createname;
41
+
42
+    /** 创建日期 */
43
+    @ApiModelProperty(value = "创建日期", position = 3)
44
+    private Date createdate;
45
+
46
+    /** 更新人 */
47
+    @ApiModelProperty(value = "更新人", position = 4)
48
+    private String updatename;
49
+
50
+    /** 更新日期 */
51
+    @ApiModelProperty(value = "更新日期", position = 5)
52
+    private Date updatedate;
53
+
54
+    /** business_fs_sale_revenue的ID */
55
+    @ApiModelProperty(value = "business_fs_sale_revenue的ID", position = 6)
56
+    private Integer fsSaleRevenueId;
57
+
58
+    /** 年 */
59
+    @ApiModelProperty(value = "年", position = 7)
60
+    private Date year;
61
+
62
+    /** 月份 */
63
+    @ApiModelProperty(value = "月份", position = 8)
64
+    private String month;
65
+
66
+    /** 会计账-数量,单位:公斤 */
67
+    @ApiModelProperty(value = "会计账-数量,单位:公斤", position = 9)
68
+    private BigDecimal accountingQuantity;
69
+
70
+    /** 省平台修改-会计账-数量,单位:公斤; */
71
+    @ApiModelProperty(value = "省平台修改-会计账-数量,单位:公斤;", position = 10)
72
+    private BigDecimal provinceAccountingQuantity;
73
+
74
+    /** 会计账-金额,单位:元 */
75
+    @ApiModelProperty(value = "会计账-金额,单位:元", position = 11)
76
+    private BigDecimal accountingAmount;
77
+
78
+    /** 省平台修改-会计账-金额,单位:元 */
79
+    @ApiModelProperty(value = "省平台修改-会计账-金额,单位:元", position = 12)
80
+    private BigDecimal provinceAccountingAmount;
81
+
82
+    @ApiModelProperty(value = "凭证号")
83
+    @TableField(exist = false)
84
+    private String voucherNumber;
85
+
86
+    @ApiModelProperty(value = "销售单价(元)")
87
+    @TableField(exist = false)
88
+    private BigDecimal unitPrice;
33 89
 }

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/enums/FsSaleRevenueThreeConsistenceAccountEnum.java

@@ -18,7 +18,7 @@ import lombok.Getter;
18 18
  * 销售收入上缴-会计账枚举
19 19
  *
20 20
  * @author QSHan
21
- * @date  2024/07/26 16:47
21
+ * @date  2024/07/29 15:23
22 22
  **/
23 23
 @Getter
24 24
 public enum FsSaleRevenueThreeConsistenceAccountEnum {

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/mapper/FsSaleRevenueThreeConsistenceAccountMapper.java

@@ -19,7 +19,7 @@ import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccoun
19 19
  * 销售收入上缴-会计账Mapper接口
20 20
  *
21 21
  * @author QSHan
22
- * @date  2024/07/26 16:47
22
+ * @date  2024/07/29 15:23
23 23
  **/
24 24
 public interface FsSaleRevenueThreeConsistenceAccountMapper extends BaseMapper<FsSaleRevenueThreeConsistenceAccount> {
25 25
 }

+ 45 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/param/FsSaleRevenueThreeConsistenceAccountAddParam.java

@@ -25,10 +25,54 @@ import java.util.Date;
25 25
  * 销售收入上缴-会计账添加参数
26 26
  *
27 27
  * @author QSHan
28
- * @date  2024/07/26 16:47
28
+ * @date  2024/07/29 15:23
29 29
  **/
30 30
 @Getter
31 31
 @Setter
32 32
 public class FsSaleRevenueThreeConsistenceAccountAddParam {
33 33
 
34
+    /** 创建人 */
35
+    @ApiModelProperty(value = "创建人", position = 2)
36
+    private String createname;
37
+
38
+    /** 创建日期 */
39
+    @ApiModelProperty(value = "创建日期", position = 3)
40
+    private Date createdate;
41
+
42
+    /** 更新人 */
43
+    @ApiModelProperty(value = "更新人", position = 4)
44
+    private String updatename;
45
+
46
+    /** 更新日期 */
47
+    @ApiModelProperty(value = "更新日期", position = 5)
48
+    private Date updatedate;
49
+
50
+    /** business_fs_sale_revenue的ID */
51
+    @ApiModelProperty(value = "business_fs_sale_revenue的ID", position = 6)
52
+    private Integer fsSaleRevenueId;
53
+
54
+    /** 年 */
55
+    @ApiModelProperty(value = "年", position = 7)
56
+    private Date year;
57
+
58
+    /** 月份 */
59
+    @ApiModelProperty(value = "月份", position = 8)
60
+    private String month;
61
+
62
+    /** 会计账-数量,单位:公斤 */
63
+    @ApiModelProperty(value = "会计账-数量,单位:公斤", position = 9)
64
+    private BigDecimal accountingQuantity;
65
+
66
+    /** 省平台修改-会计账-数量,单位:公斤; */
67
+    @ApiModelProperty(value = "省平台修改-会计账-数量,单位:公斤;", position = 10)
68
+    private BigDecimal provinceAccountingQuantity;
69
+
70
+    /** 会计账-金额,单位:元 */
71
+    @ApiModelProperty(value = "会计账-金额,单位:元", position = 11)
72
+    private BigDecimal accountingAmount;
73
+
74
+    /** 省平台修改-会计账-金额,单位:元 */
75
+    @ApiModelProperty(value = "省平台修改-会计账-金额,单位:元", position = 12)
76
+    private BigDecimal provinceAccountingAmount;
77
+
34 78
 }

+ 50 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/param/FsSaleRevenueThreeConsistenceAccountEditParam.java

@@ -25,10 +25,59 @@ import java.util.Date;
25 25
  * 销售收入上缴-会计账编辑参数
26 26
  *
27 27
  * @author QSHan
28
- * @date  2024/07/26 16:47
28
+ * @date  2024/07/29 15:23
29 29
  **/
30 30
 @Getter
31 31
 @Setter
32 32
 public class FsSaleRevenueThreeConsistenceAccountEditParam {
33 33
 
34
+    /** 主键ID */
35
+    @ApiModelProperty(value = "主键ID", required = true, position = 1)
36
+    @NotNull(message = "id不能为空")
37
+    private Integer id;
38
+
39
+    /** 创建人 */
40
+    @ApiModelProperty(value = "创建人", position = 2)
41
+    private String createname;
42
+
43
+    /** 创建日期 */
44
+    @ApiModelProperty(value = "创建日期", position = 3)
45
+    private Date createdate;
46
+
47
+    /** 更新人 */
48
+    @ApiModelProperty(value = "更新人", position = 4)
49
+    private String updatename;
50
+
51
+    /** 更新日期 */
52
+    @ApiModelProperty(value = "更新日期", position = 5)
53
+    private Date updatedate;
54
+
55
+    /** business_fs_sale_revenue的ID */
56
+    @ApiModelProperty(value = "business_fs_sale_revenue的ID", position = 6)
57
+    private Integer fsSaleRevenueId;
58
+
59
+    /** 年 */
60
+    @ApiModelProperty(value = "年", position = 7)
61
+    private Date year;
62
+
63
+    /** 月份 */
64
+    @ApiModelProperty(value = "月份", position = 8)
65
+    private String month;
66
+
67
+    /** 会计账-数量,单位:公斤 */
68
+    @ApiModelProperty(value = "会计账-数量,单位:公斤", position = 9)
69
+    private BigDecimal accountingQuantity;
70
+
71
+    /** 省平台修改-会计账-数量,单位:公斤; */
72
+    @ApiModelProperty(value = "省平台修改-会计账-数量,单位:公斤;", position = 10)
73
+    private BigDecimal provinceAccountingQuantity;
74
+
75
+    /** 会计账-金额,单位:元 */
76
+    @ApiModelProperty(value = "会计账-金额,单位:元", position = 11)
77
+    private BigDecimal accountingAmount;
78
+
79
+    /** 省平台修改-会计账-金额,单位:元 */
80
+    @ApiModelProperty(value = "省平台修改-会计账-金额,单位:元", position = 12)
81
+    private BigDecimal provinceAccountingAmount;
82
+
34 83
 }

+ 4 - 4
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/param/FsSaleRevenueThreeConsistenceAccountIdParam.java

@@ -22,14 +22,14 @@ import javax.validation.constraints.NotBlank;
22 22
  * 销售收入上缴-会计账Id参数
23 23
  *
24 24
  * @author QSHan
25
- * @date  2024/07/26 16:47
25
+ * @date  2024/07/29 15:23
26 26
  **/
27 27
 @Getter
28 28
 @Setter
29 29
 public class FsSaleRevenueThreeConsistenceAccountIdParam {
30 30
 
31
-    /** id */
32
-    @ApiModelProperty(value = "id", required = true)
31
+    /** 主键ID */
32
+    @ApiModelProperty(value = "主键ID", required = true)
33 33
     @NotBlank(message = "id不能为空")
34
-    private String id;
34
+    private Integer id;
35 35
 }

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/param/FsSaleRevenueThreeConsistenceAccountPageParam.java

@@ -22,7 +22,7 @@ import java.util.Date;
22 22
  * 销售收入上缴-会计账查询参数
23 23
  *
24 24
  * @author QSHan
25
- * @date  2024/07/26 16:47
25
+ * @date  2024/07/29 15:23
26 26
  **/
27 27
 @Getter
28 28
 @Setter

+ 8 - 8
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/service/FsSaleRevenueThreeConsistenceAccountService.java

@@ -26,7 +26,7 @@ import java.util.List;
26 26
  * 销售收入上缴-会计账Service接口
27 27
  *
28 28
  * @author QSHan
29
- * @date  2024/07/26 16:47
29
+ * @date  2024/07/29 15:23
30 30
  **/
31 31
 public interface FsSaleRevenueThreeConsistenceAccountService extends IService<FsSaleRevenueThreeConsistenceAccount> {
32 32
 
@@ -34,7 +34,7 @@ public interface FsSaleRevenueThreeConsistenceAccountService extends IService<Fs
34 34
      * 获取销售收入上缴-会计账分页
35 35
      *
36 36
      * @author QSHan
37
-     * @date  2024/07/26 16:47
37
+     * @date  2024/07/29 15:23
38 38
      */
39 39
     Page<FsSaleRevenueThreeConsistenceAccount> page(FsSaleRevenueThreeConsistenceAccountPageParam fsSaleRevenueThreeConsistenceAccountPageParam);
40 40
 
@@ -42,7 +42,7 @@ public interface FsSaleRevenueThreeConsistenceAccountService extends IService<Fs
42 42
      * 添加销售收入上缴-会计账
43 43
      *
44 44
      * @author QSHan
45
-     * @date  2024/07/26 16:47
45
+     * @date  2024/07/29 15:23
46 46
      */
47 47
     void add(FsSaleRevenueThreeConsistenceAccountAddParam fsSaleRevenueThreeConsistenceAccountAddParam);
48 48
 
@@ -50,7 +50,7 @@ public interface FsSaleRevenueThreeConsistenceAccountService extends IService<Fs
50 50
      * 编辑销售收入上缴-会计账
51 51
      *
52 52
      * @author QSHan
53
-     * @date  2024/07/26 16:47
53
+     * @date  2024/07/29 15:23
54 54
      */
55 55
     void edit(FsSaleRevenueThreeConsistenceAccountEditParam fsSaleRevenueThreeConsistenceAccountEditParam);
56 56
 
@@ -58,7 +58,7 @@ public interface FsSaleRevenueThreeConsistenceAccountService extends IService<Fs
58 58
      * 删除销售收入上缴-会计账
59 59
      *
60 60
      * @author QSHan
61
-     * @date  2024/07/26 16:47
61
+     * @date  2024/07/29 15:23
62 62
      */
63 63
     void delete(List<FsSaleRevenueThreeConsistenceAccountIdParam> fsSaleRevenueThreeConsistenceAccountIdParamList);
64 64
 
@@ -66,7 +66,7 @@ public interface FsSaleRevenueThreeConsistenceAccountService extends IService<Fs
66 66
      * 获取销售收入上缴-会计账详情
67 67
      *
68 68
      * @author QSHan
69
-     * @date  2024/07/26 16:47
69
+     * @date  2024/07/29 15:23
70 70
      */
71 71
     FsSaleRevenueThreeConsistenceAccount detail(FsSaleRevenueThreeConsistenceAccountIdParam fsSaleRevenueThreeConsistenceAccountIdParam);
72 72
 
@@ -74,7 +74,7 @@ public interface FsSaleRevenueThreeConsistenceAccountService extends IService<Fs
74 74
      * 获取销售收入上缴-会计账详情
75 75
      *
76 76
      * @author QSHan
77
-     * @date  2024/07/26 16:47
77
+     * @date  2024/07/29 15:23
78 78
      **/
79
-    FsSaleRevenueThreeConsistenceAccount queryEntity(String id);
79
+    FsSaleRevenueThreeConsistenceAccount queryEntity(Integer id);
80 80
 }

+ 5 - 2
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/service/impl/FsSaleRevenueThreeConsistenceAccountServiceImpl.java

@@ -38,7 +38,7 @@ import java.util.List;
38 38
  * 销售收入上缴-会计账Service接口实现类
39 39
  *
40 40
  * @author QSHan
41
- * @date  2024/07/26 16:47
41
+ * @date  2024/07/29 15:23
42 42
  **/
43 43
 @Service
44 44
 public class FsSaleRevenueThreeConsistenceAccountServiceImpl extends ServiceImpl<FsSaleRevenueThreeConsistenceAccountMapper, FsSaleRevenueThreeConsistenceAccount> implements FsSaleRevenueThreeConsistenceAccountService {
@@ -66,6 +66,7 @@ public class FsSaleRevenueThreeConsistenceAccountServiceImpl extends ServiceImpl
66 66
     @Transactional(rollbackFor = Exception.class)
67 67
     @Override
68 68
     public void edit(FsSaleRevenueThreeConsistenceAccountEditParam fsSaleRevenueThreeConsistenceAccountEditParam) {
69
+        FsSaleRevenueThreeConsistenceAccount fsSaleRevenueThreeConsistenceAccount = this.queryEntity(fsSaleRevenueThreeConsistenceAccountEditParam.getId());
69 70
         BeanUtil.copyProperties(fsSaleRevenueThreeConsistenceAccountEditParam, fsSaleRevenueThreeConsistenceAccount);
70 71
         this.updateById(fsSaleRevenueThreeConsistenceAccount);
71 72
     }
@@ -74,14 +75,16 @@ public class FsSaleRevenueThreeConsistenceAccountServiceImpl extends ServiceImpl
74 75
     @Override
75 76
     public void delete(List<FsSaleRevenueThreeConsistenceAccountIdParam> fsSaleRevenueThreeConsistenceAccountIdParamList) {
76 77
         // 执行删除
78
+        this.removeByIds(CollStreamUtil.toList(fsSaleRevenueThreeConsistenceAccountIdParamList, FsSaleRevenueThreeConsistenceAccountIdParam::getId));
77 79
     }
78 80
 
79 81
     @Override
80 82
     public FsSaleRevenueThreeConsistenceAccount detail(FsSaleRevenueThreeConsistenceAccountIdParam fsSaleRevenueThreeConsistenceAccountIdParam) {
83
+        return this.queryEntity(fsSaleRevenueThreeConsistenceAccountIdParam.getId());
81 84
     }
82 85
 
83 86
     @Override
84
-    public FsSaleRevenueThreeConsistenceAccount queryEntity(String id) {
87
+    public FsSaleRevenueThreeConsistenceAccount queryEntity(Integer id) {
85 88
         FsSaleRevenueThreeConsistenceAccount fsSaleRevenueThreeConsistenceAccount = this.getById(id);
86 89
         if(ObjectUtil.isEmpty(fsSaleRevenueThreeConsistenceAccount)) {
87 90
             throw new CommonException("销售收入上缴-会计账不存在,id值为:{}", id);