Browse Source

Merge branch 'dev' of http://101.36.160.140:21044/province-qinghai/province-all into dev

ZeroLiYi 3 months ago
parent
commit
2edfcca4a6
85 changed files with 5733 additions and 19 deletions
  1. 8 0
      pushZhengWuYun.bat
  2. 1 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/emergencySupport/modular/esstorageenterprisegrain/controller/BizEsStorageEnterpriseGrainController.java
  3. 1 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/emergencySupportCenter/modular/planExecute/mapper/mapping/PlanExecuteMapper.xml
  4. 98 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/controller/FsSaleRevenueController.java
  5. 37 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/entity/BusinessContractDetail.java
  6. 148 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/entity/FsSaleRevenue.java
  7. 34 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/enums/FsSaleRevenueEnum.java
  8. 60 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/mapper/FsSaleRevenueMapper.java
  9. 208 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/mapper/mapping/FsSaleRevenueMapper.xml
  10. 78 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/param/FsSaleRevenueAddParam.java
  11. 83 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/param/FsSaleRevenueEditParam.java
  12. 36 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/param/FsSaleRevenueIdParam.java
  13. 53 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/param/FsSaleRevenuePageParam.java
  14. 64 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/service/FsSaleRevenueService.java
  15. 217 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenue/service/impl/FsSaleRevenueServiceImpl.java
  16. 145 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/controller/FsSaleRevenueApprovalPriceController.java
  17. 97 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/entity/FsSaleRevenueApprovalPrice.java
  18. 34 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/enums/FsSaleRevenueApprovalPriceEnum.java
  19. 25 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/mapper/FsSaleRevenueApprovalPriceMapper.java
  20. 5 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/mapper/mapping/FsSaleRevenueApprovalPriceMapper.xml
  21. 70 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/param/FsSaleRevenueApprovalPriceAddParam.java
  22. 75 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/param/FsSaleRevenueApprovalPriceEditParam.java
  23. 35 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/param/FsSaleRevenueApprovalPriceIdParam.java
  24. 51 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/param/FsSaleRevenueApprovalPricePageParam.java
  25. 80 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/service/FsSaleRevenueApprovalPriceService.java
  26. 94 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/service/impl/FsSaleRevenueApprovalPriceServiceImpl.java
  27. 145 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/controller/FsSaleRevenueDiffPriceController.java
  28. 77 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/entity/FsSaleRevenueDiffPrice.java
  29. 34 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/enums/FsSaleRevenueDiffPriceEnum.java
  30. 25 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/mapper/FsSaleRevenueDiffPriceMapper.java
  31. 5 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/mapper/mapping/FsSaleRevenueDiffPriceMapper.xml
  32. 74 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/param/FsSaleRevenueDiffPriceAddParam.java
  33. 79 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/param/FsSaleRevenueDiffPriceEditParam.java
  34. 35 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/param/FsSaleRevenueDiffPriceIdParam.java
  35. 51 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/param/FsSaleRevenueDiffPricePageParam.java
  36. 80 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/service/FsSaleRevenueDiffPriceService.java
  37. 94 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/service/impl/FsSaleRevenueDiffPriceServiceImpl.java
  38. 145 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/controller/FsSaleRevenueInspectionLossController.java
  39. 130 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/entity/FsSaleRevenueInspectionLoss.java
  40. 34 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/enums/FsSaleRevenueInspectionLossEnum.java
  41. 25 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/mapper/FsSaleRevenueInspectionLossMapper.java
  42. 5 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/mapper/mapping/FsSaleRevenueInspectionLossMapper.xml
  43. 66 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/param/FsSaleRevenueInspectionLossAddParam.java
  44. 71 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/param/FsSaleRevenueInspectionLossEditParam.java
  45. 35 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/param/FsSaleRevenueInspectionLossIdParam.java
  46. 51 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/param/FsSaleRevenueInspectionLossPageParam.java
  47. 80 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/service/FsSaleRevenueInspectionLossService.java
  48. 94 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/service/impl/FsSaleRevenueInspectionLossServiceImpl.java
  49. 145 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/controller/FsSaleRevenueSettleController.java
  50. 118 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/entity/FsSaleRevenueSettle.java
  51. 34 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/enums/FsSaleRevenueSettleEnum.java
  52. 25 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/mapper/FsSaleRevenueSettleMapper.java
  53. 5 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/mapper/mapping/FsSaleRevenueSettleMapper.xml
  54. 106 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/param/FsSaleRevenueSettleAddParam.java
  55. 111 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/param/FsSaleRevenueSettleEditParam.java
  56. 35 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/param/FsSaleRevenueSettleIdParam.java
  57. 51 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/param/FsSaleRevenueSettlePageParam.java
  58. 80 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/service/FsSaleRevenueSettleService.java
  59. 94 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/service/impl/FsSaleRevenueSettleServiceImpl.java
  60. 145 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/controller/FsSaleRevenueThreeConsistenceController.java
  61. 137 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/entity/FsSaleRevenueThreeConsistence.java
  62. 34 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/enums/FsSaleRevenueThreeConsistenceEnum.java
  63. 25 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/mapper/FsSaleRevenueThreeConsistenceMapper.java
  64. 5 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/mapper/mapping/FsSaleRevenueThreeConsistenceMapper.xml
  65. 126 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/param/FsSaleRevenueThreeConsistenceAddParam.java
  66. 131 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/param/FsSaleRevenueThreeConsistenceEditParam.java
  67. 35 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/param/FsSaleRevenueThreeConsistenceIdParam.java
  68. 51 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/param/FsSaleRevenueThreeConsistencePageParam.java
  69. 80 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/service/FsSaleRevenueThreeConsistenceService.java
  70. 94 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/service/impl/FsSaleRevenueThreeConsistenceServiceImpl.java
  71. 145 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/controller/FsSaleRevenueThreeConsistenceAccountController.java
  72. 89 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/entity/FsSaleRevenueThreeConsistenceAccount.java
  73. 34 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/enums/FsSaleRevenueThreeConsistenceAccountEnum.java
  74. 25 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/mapper/FsSaleRevenueThreeConsistenceAccountMapper.java
  75. 5 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/mapper/mapping/FsSaleRevenueThreeConsistenceAccountMapper.xml
  76. 78 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/param/FsSaleRevenueThreeConsistenceAccountAddParam.java
  77. 83 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/param/FsSaleRevenueThreeConsistenceAccountEditParam.java
  78. 35 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/param/FsSaleRevenueThreeConsistenceAccountIdParam.java
  79. 51 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/param/FsSaleRevenueThreeConsistenceAccountPageParam.java
  80. 80 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/service/FsSaleRevenueThreeConsistenceAccountService.java
  81. 94 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/service/impl/FsSaleRevenueThreeConsistenceAccountServiceImpl.java
  82. 7 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/rotationCostSubsidySettle/controller/RotationCostSubsidySettleController.java
  83. 60 15
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/rotationCostSubsidySettle/mapper/mapping/RotationCostSubsidySettleMapper.xml
  84. 1 0
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/rotationCostSubsidySettle/service/impl/RotationCostSubsidySettleServiceImpl.java
  85. 7 4
      unis-plugin/unis-plugin-biz/src/main/java/com/unis/reserveLayout/modular/qualityInspectionOrg/mapper/mapping/QualityInspectionOrgMapper.xml

+ 8 - 0
pushZhengWuYun.bat

@@ -0,0 +1,8 @@
1
+:: 设置政务云远程
2
+git remote add zhengwuyun http://172.18.93.254:8080/province/province-all.git
3
+:: 强制切换紫光云远程master分支
4
+git checkout -B master --end-of-options remotes/origin/master --
5
+:: 拉取紫光云远程master代码
6
+git pull origin master
7
+:: 推送到政务云远程
8
+git push zhengwuyun master:main -f

+ 1 - 0
unis-plugin/unis-plugin-biz/src/main/java/com/unis/emergencySupport/modular/esstorageenterprisegrain/controller/BizEsStorageEnterpriseGrainController.java

@@ -74,6 +74,7 @@ public class BizEsStorageEnterpriseGrainController {
74 74
     @ApiOperationSupport(order = 2)
75 75
     @ApiOperation("添加应急保障-应急仓储企业管理表-粮食品种")
76 76
     @CommonLog("添加应急保障-应急仓储企业管理表-粮食品种")
77
+    //@SaCheckPermission("/emergencySupport/esstorageenterprisegrain/add")
77 78
     @PostMapping("/emergencySupport/esstorageenterprisegrain/add")
78 79
     public CommonResult<String> add(@RequestBody @Valid BizEsStorageEnterpriseGrainAddParam bizEsStorageEnterpriseGrainAddParam) {
79 80
         bizEsStorageEnterpriseGrainService.add(bizEsStorageEnterpriseGrainAddParam);

+ 1 - 0
unis-plugin/unis-plugin-biz/src/main/java/com/unis/emergencySupportCenter/modular/planExecute/mapper/mapping/PlanExecuteMapper.xml

@@ -30,6 +30,7 @@
30 30
                 biz_es_ep_plan_execute pe
31 31
             LEFT JOIN biz_es_ep_online_plan_formulation pf ON pe.es_online_plan_formulation_id = pf.id
32 32
             LEFT JOIN biz_es_ep_plan_execute_enterprise ee ON pe.id = ee.es_plan_execute_id
33
+            GROUP BY ee.es_plan_execute_id
33 34
             ) t1
34 35
         ${ew.customSqlSegment}
35 36
     </select>

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

@@ -0,0 +1,98 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenue.controller;
14
+
15
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
16
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
17
+import com.github.xiaoymin.knife4j.annotations.ApiSupport;
18
+import com.unis.financialSupervision.modular.priceApproval.entity.DataCPZ;
19
+import io.swagger.annotations.Api;
20
+import io.swagger.annotations.ApiOperation;
21
+import org.springframework.validation.annotation.Validated;
22
+import org.springframework.web.bind.annotation.*;
23
+import com.unis.common.annotation.CommonLog;
24
+import com.unis.common.pojo.CommonResult;
25
+import com.unis.financialSupervision.modular.fsSaleRevenue.entity.FsSaleRevenue;
26
+import com.unis.financialSupervision.modular.fsSaleRevenue.param.FsSaleRevenueIdParam;
27
+import com.unis.financialSupervision.modular.fsSaleRevenue.param.FsSaleRevenuePageParam;
28
+import com.unis.financialSupervision.modular.fsSaleRevenue.service.FsSaleRevenueService;
29
+
30
+import javax.annotation.Resource;
31
+import javax.validation.Valid;
32
+import java.util.List;
33
+
34
+/**
35
+ * 销售收入上缴控制器
36
+ *
37
+ * @author QSHan
38
+ * @date 2024/07/29 14:04
39
+ */
40
+@Api(tags = "销售收入上缴控制器")
41
+@ApiSupport(author = "UNIS_TEAM", order = 1)
42
+@RestController
43
+@Validated
44
+public class FsSaleRevenueController {
45
+
46
+    @Resource
47
+    private FsSaleRevenueService fsSaleRevenueService;
48
+
49
+    /**
50
+     * 获取销售收入上缴分页
51
+     *
52
+     * @author QSHan
53
+     * @date 2024/07/29 14:04
54
+     */
55
+    @ApiOperationSupport(order = 1)
56
+    @ApiOperation("获取销售收入上缴分页")
57
+//    @SaCheckPermission("/financialSupervision/fsSaleRevenue/page")
58
+    @GetMapping("/financialSupervision/fsSaleRevenue/page")
59
+    public CommonResult<Page<FsSaleRevenue>> page(FsSaleRevenuePageParam fsSaleRevenuePageParam) {
60
+        return CommonResult.data(fsSaleRevenueService.page(fsSaleRevenuePageParam));
61
+    }
62
+
63
+    /**
64
+     * 编辑销售收入上缴
65
+     *
66
+     * @author QSHan
67
+     * @date 2024/07/29 14:04
68
+     */
69
+    @ApiOperationSupport(order = 3)
70
+    @ApiOperation("编辑销售收入上缴")
71
+    @CommonLog("编辑销售收入上缴")
72
+//    @SaCheckPermission("/financialSupervision/fsSaleRevenue/edit")
73
+    @PostMapping("/financialSupervision/fsSaleRevenue/edit")
74
+    public CommonResult<String> edit(@RequestBody @Valid FsSaleRevenue param) {
75
+        fsSaleRevenueService.edit(param);
76
+        return CommonResult.ok();
77
+    }
78
+
79
+    /**
80
+     * 获取销售收入上缴详情
81
+     *
82
+     * @author QSHan
83
+     * @date 2024/07/29 14:04
84
+     */
85
+    @ApiOperationSupport(order = 5)
86
+    @ApiOperation("获取销售收入上缴详情")
87
+//    @SaCheckPermission("/financialSupervision/fsSaleRevenue/detail")
88
+    @GetMapping("/financialSupervision/fsSaleRevenue/detail")
89
+    public CommonResult<FsSaleRevenue> detail(@Valid FsSaleRevenueIdParam fsSaleRevenueIdParam) {
90
+        return CommonResult.data(fsSaleRevenueService.detail(fsSaleRevenueIdParam));
91
+    }
92
+
93
+    @GetMapping("/financialSupervision/fsSaleRevenue/getOutStorageDetailed/{contractNumber}")
94
+    @ApiOperation(value = "三账一致性-出库明细", notes = "出库明细")
95
+    public CommonResult<List<DataCPZ>> getOutStorageDetailed(@PathVariable("contractNumber") String contractNumber) {
96
+        return CommonResult.data(fsSaleRevenueService.getOutStorageDetailed(contractNumber));
97
+    }
98
+}

+ 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
+}

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

@@ -0,0 +1,148 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenue.entity;
14
+
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;
22
+import io.swagger.annotations.ApiModelProperty;
23
+import lombok.Getter;
24
+import lombok.Setter;
25
+
26
+import java.io.Serializable;
27
+import java.util.Date;
28
+import java.util.List;
29
+
30
+/**
31
+ * 销售收入上缴实体
32
+ *
33
+ * @author QSHan
34
+ * @date  2024/07/29 14:04
35
+ **/
36
+@Getter
37
+@Setter
38
+@TableName("business_fs_sale_revenue")
39
+public class FsSaleRevenue implements Serializable {
40
+    private static final long serialVersionUID = -3160238445247970639L;
41
+
42
+    /** 主键ID */
43
+    @TableId
44
+    @ApiModelProperty(value = "主键ID", position = 1)
45
+    private Integer id;
46
+
47
+    /** 创建人 */
48
+    @ApiModelProperty(value = "创建人", position = 2)
49
+    private String createname;
50
+
51
+    /** 创建日期 */
52
+    @ApiModelProperty(value = "创建日期", position = 3)
53
+    private Date createdate;
54
+
55
+    /** 更新人 */
56
+    @ApiModelProperty(value = "更新人", position = 4)
57
+    private String updatename;
58
+
59
+    /** 更新日期 */
60
+    @ApiModelProperty(value = "更新日期(核定时间)", position = 5)
61
+    private Date updatedate;
62
+
63
+    /** 上报库区;org_info的id; */
64
+    @ApiModelProperty(value = "上报库区;org_info的id;", position = 6)
65
+    private Integer orgId;
66
+
67
+    /** 上报时间 */
68
+    @ApiModelProperty(value = "上报时间", position = 7)
69
+    private Date reportTime;
70
+
71
+    /** 计划类型 */
72
+    @ApiModelProperty(value = "计划类型", position = 8)
73
+    private String planType;
74
+
75
+    /** 销往单位 */
76
+    @ApiModelProperty(value = "销往单位", position = 9)
77
+    private String salesUnit;
78
+
79
+    /** 合同编号;business_contract的ID; */
80
+    @ApiModelProperty(value = "合同编号;business_contract的ID;", position = 10)
81
+    private Integer contractId;
82
+
83
+    /** 问题跟踪反馈 */
84
+    @ApiModelProperty(value = "问题跟踪反馈", position = 11)
85
+    private String problemFeedback;
86
+
87
+    /** 状态 0:保存;1:库级系统-上报;2:已核定;3:省级平台-上报; */
88
+    @ApiModelProperty(value = "状态 0:库级系统-保存;1:库级系统-上报;2:省级平台-已核定;3:省级平台-上报;", position = 12)
89
+    private Integer status;
90
+
91
+    // 只展示不保存
92
+    @ApiModelProperty(value = "合同信息")
93
+    @TableField(exist = false)
94
+    private List<BusinessContractDetail> contractDetails;
95
+
96
+    @ApiModelProperty(value = "质检损益信息")
97
+    @TableField(exist = false)
98
+    private List<FsSaleRevenueInspectionLoss> inspectionLossList;
99
+
100
+    @ApiModelProperty(value = "三账一致性-会计账")
101
+    @TableField(exist = false)
102
+    private List<FsSaleRevenueThreeConsistenceAccount> threeConsistenceAccountList;
103
+
104
+    @ApiModelProperty(value = "三账一致性-实际出库情况")
105
+    @TableField(exist = false)
106
+    private List<FsSaleRevenueThreeConsistence> threeConsistenceList;
107
+
108
+    @ApiModelProperty(value = "结算信息")
109
+    @TableField(exist = false)
110
+    private List<FsSaleRevenueSettle> revenueSettleList;
111
+
112
+    @ApiModelProperty(value = "原核定入库价格")
113
+    @TableField(exist = false)
114
+    private List<FsSaleRevenueApprovalPrice> approvalPriceList;
115
+
116
+    @ApiModelProperty(value = "差额上缴")
117
+    @TableField(exist = false)
118
+    private List<FsSaleRevenueDiffPrice> DiffPriceList;
119
+
120
+    @ApiModelProperty(value = "合同编号")
121
+    @TableField(exist = false)
122
+    private String contractNumber;
123
+
124
+    /*@ApiModelProperty(value = "数量")
125
+    @TableField(exist = false)
126
+    private String grainQuantity;*/
127
+
128
+    @ApiModelProperty(value = "结算金额")
129
+    @TableField(exist = false)
130
+    private String moneyQuantity;
131
+
132
+    /*@ApiModelProperty(value = "确认数量")
133
+    @TableField(exist = false)
134
+    private String performanceQuantity;*/
135
+
136
+    @ApiModelProperty(value = "企业名称")
137
+    @TableField(exist = false)
138
+    private String dwmc;
139
+
140
+    @ApiModelProperty(value = "库区名称")
141
+    @TableField(exist = false)
142
+    private String orgName;
143
+
144
+    @ApiModelProperty(value = "合同附件")
145
+    @TableField(exist = false)
146
+    private String attachment;
147
+
148
+}

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

@@ -0,0 +1,34 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenue.enums;
14
+
15
+import lombok.Getter;
16
+
17
+/**
18
+ * 销售收入上缴枚举
19
+ *
20
+ * @author QSHan
21
+ * @date  2024/07/29 14:04
22
+ **/
23
+@Getter
24
+public enum FsSaleRevenueEnum {
25
+
26
+    /** 测试 */
27
+    TEST("TEST");
28
+
29
+    private final String value;
30
+
31
+    FsSaleRevenueEnum(String value) {
32
+        this.value = value;
33
+    }
34
+}

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

@@ -0,0 +1,60 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenue.mapper;
14
+
15
+import com.baomidou.dynamic.datasource.annotation.DS;
16
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
17
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
18
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
19
+import com.unis.common.constant.DBConstant;
20
+import com.unis.financialSupervision.modular.fsSaleRevenue.entity.BusinessContractDetail;
21
+import com.unis.financialSupervision.modular.fsSaleRevenue.entity.FsSaleRevenue;
22
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.entity.FsSaleRevenueApprovalPrice;
23
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.entity.FsSaleRevenueDiffPrice;
24
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.entity.FsSaleRevenueInspectionLoss;
25
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.entity.FsSaleRevenueSettle;
26
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.entity.FsSaleRevenueThreeConsistence;
27
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.entity.FsSaleRevenueThreeConsistenceAccount;
28
+import com.unis.financialSupervision.modular.priceApproval.entity.DataCPZ;
29
+import org.apache.ibatis.annotations.Param;
30
+
31
+import java.util.List;
32
+
33
+/**
34
+ * 销售收入上缴Mapper接口
35
+ *
36
+ * @author QSHan
37
+ * @date 2024/07/29 14:04
38
+ **/
39
+//@DS(DBConstant.DS_DEPOT)
40
+public interface FsSaleRevenueMapper extends BaseMapper<FsSaleRevenue> {
41
+    Page<FsSaleRevenue> pageList(Page<Object> objectPage, @Param("ew") QueryWrapper<FsSaleRevenue> queryWrapper);
42
+
43
+    List<BusinessContractDetail> getContractInfoList(@Param("id") Integer id);
44
+
45
+    List<FsSaleRevenueThreeConsistenceAccount> getConsistenceAccountDetailsInfo(@Param("id") Integer id);
46
+
47
+    List<FsSaleRevenueInspectionLoss> getQualityDetailsInfo(@Param("id") Integer id);
48
+
49
+    List<FsSaleRevenueThreeConsistence> getOutStorageDetailsInfo(@Param("id") Integer id);
50
+
51
+    List<FsSaleRevenueSettle> getSettlementDetailsInfo(@Param("id") Integer id);
52
+
53
+    List<FsSaleRevenueApprovalPrice> getCardDetailsInfo(@Param("id") Integer id);
54
+
55
+    List<FsSaleRevenueDiffPrice> getDiffPriceDetailsInfo(@Param("id") Integer id);
56
+
57
+    List<DataCPZ> getOutStorageDetailed(@Param("contractNumber") String contractNumber);
58
+
59
+    FsSaleRevenue queryEntityById(@Param("id") Integer id);
60
+}

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

@@ -0,0 +1,208 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+<mapper namespace="com.unis.financialSupervision.modular.fsSaleRevenue.mapper.FsSaleRevenueMapper">
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
+            sr.report_time
17
+        FROM
18
+            business_fs_sale_revenue sr
19
+        LEFT JOIN business_contract bc ON sr.contract_id = bc.id
20
+        LEFT JOIN org_info oi ON sr.org_id = oi.org_id
21
+        LEFT JOIN province_all.biz_unit_info ui ON ui.id = oi.unit_info_id
22
+        ${ew.customSqlSegment}
23
+    </select>
24
+    <select id="getContractInfoList" parameterType="integer" resultType="com.unis.financialSupervision.modular.fsSaleRevenue.entity.BusinessContractDetail">
25
+        SELECT
26
+            swd.id,
27
+            bs.storehouse_name houseName,
28
+            bw.warehouse_name warehouseName,
29
+            swd.grain_kind grainKind,
30
+            be.enumname grainKindName,
31
+            swd.in_count inCount,
32
+            swd.in_price inPrice,
33
+            swd.in_detail_total_price inDetailTotalPrice
34
+        FROM
35
+            business_store_ware_detail swd
36
+        LEFT JOIN basic_enum be ON be.enumId = swd.grain_kind
37
+        LEFT JOIN basic_storehouse bs ON swd.house_id = bs.storehouse_id
38
+        LEFT JOIN basic_warehouse bw ON swd.warehouse_id = bw.warehouse_id
39
+        WHERE
40
+            swd.zid = #{id}
41
+    </select>
42
+    <select id="getConsistenceAccountDetailsInfo" parameterType="integer" resultType="com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.entity.FsSaleRevenueThreeConsistenceAccount">
43
+        SELECT
44
+            tcc.id,
45
+            tcc. YEAR,
46
+            tcc. MONTH,
47
+            tcc.accounting_quantity accountingQuantity,
48
+            tcc.accounting_amount accountingAmount,
49
+            tcc.province_accounting_quantity provinceAccountingQuantity,
50
+            tcc.province_accounting_amount provinceAccountingAmount
51
+        FROM
52
+            business_fs_sale_revenue_three_consistence_account tcc
53
+        LEFT JOIN business_fs_sale_revenue sr ON sr.id = tcc.fs_sale_revenue_id
54
+        WHERE
55
+            tcc.fs_sale_revenue_id = #{id}
56
+    </select>
57
+    <select id="getQualityDetailsInfo" parameterType="integer" resultType="com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.entity.FsSaleRevenueInspectionLoss">
58
+        SELECT
59
+            il.id,
60
+            il.qc_quality_inspection_id_out,
61
+            il.qc_quality_inspection_id_in,
62
+            bs.storehouse_name storehouseName,
63
+            bw.warehouse_name warehouseName,
64
+            t1.zzIn,
65
+            t1.sfIn,
66
+            t2.zzOut,
67
+            t2.sfOut,
68
+            il.gslr_loss_collect_id gslrLossCollectId,
69
+            lc.actual_loss_quantity actualLossQuantity,
70
+            (
71
+                lc.natural_loss + lc.moisture_loss + lc.impurity_reduction_quality
72
+            ) quotaLoss,
73
+            lc.natural_loss naturalLoss,
74
+            lc.moisture_loss moistureLoss,
75
+            lc.impurity_reduction_quality impurityReductionQuality,
76
+            lc.excess_loss_quantity excessLossQuantity,
77
+            lc.loss_profit_reason lossProfitReason
78
+        FROM
79
+            business_fs_sale_revenue_inspection_loss il
80
+        LEFT JOIN business_gslr_loss_collect lc ON lc.id = il.gslr_loss_collect_id
81
+        LEFT JOIN basic_storehouse bs ON lc.basic_storehouse_id = bs.storehouse_id
82
+        LEFT JOIN basic_warehouse bw ON lc.warehouse_id = bw.warehouse_id
83
+        LEFT JOIN
84
+        (
85
+        SELECT
86
+            qi.id,
87
+            SUM(CASE WHEN qii.inspection_item_id = 7619 THEN qii.inspection_value ELSE 0 END) zzIn,
88
+          SUM(CASE WHEN qii.inspection_item_id = 9528239 THEN qii.inspection_value ELSE 0 END) sfIn
89
+        FROM
90
+            business_fs_sale_revenue_inspection_loss il
91
+        LEFT JOIN business_qc_quality_inspection qi ON il.qc_quality_inspection_id_out = qi.id
92
+        LEFT JOIN business_qc_quality_inspection_item qii ON qi.id = qii.qc_quality_inspection_id
93
+        ) t1 ON il.qc_quality_inspection_id_in = t1.id
94
+        LEFT JOIN
95
+        (
96
+        SELECT
97
+            qi.id,
98
+            SUM(CASE WHEN qii.inspection_item_id = 7619 THEN qii.inspection_value ELSE 0 END) zzOut,
99
+          SUM(CASE WHEN qii.inspection_item_id = 9528239 THEN qii.inspection_value ELSE 0 END) sfOut
100
+        FROM
101
+            business_fs_sale_revenue_inspection_loss il
102
+        LEFT JOIN business_qc_quality_inspection qi ON il.qc_quality_inspection_id_out = qi.id
103
+        LEFT JOIN business_qc_quality_inspection_item qii ON qi.id = qii.qc_quality_inspection_id
104
+        ) t2 ON il.qc_quality_inspection_id_out = t2.id
105
+        WHERE
106
+            il.fs_sale_revenue_id = #{id}
107
+    </select>
108
+    <select id="getOutStorageDetailsInfo" parameterType="integer" resultType="com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.entity.FsSaleRevenueThreeConsistence">
109
+        SELECT
110
+            tc.*,
111
+            bs.storehouse_name storehouseName,
112
+            bw.warehouse_name warehouseName
113
+        FROM
114
+            business_fs_sale_revenue_three_consistence tc
115
+        LEFT JOIN basic_storehouse bs ON tc.basic_storehouse_id = bs.storehouse_id
116
+        LEFT JOIN basic_warehouse bw ON tc.warehouse_id = bw.warehouse_id
117
+        WHERE
118
+            tc.fs_sale_revenue_id = #{id}
119
+    </select>
120
+    <select id="getSettlementDetailsInfo" parameterType="integer" resultType="com.unis.financialSupervision.modular.fsSaleRevenueSettle.entity.FsSaleRevenueSettle">
121
+        SELECT
122
+            rs.id,
123
+            rs.fs_sale_revenue_id fsSaleRevenueId,
124
+            rs.province_acceptance_unit,
125
+            rs.province_total_settle_quantity,
126
+            rs.province_total_settle_amount,
127
+            rs.province_loan_return_time loanReturnTime,
128
+            rs.province_loan_recovery_unit provinceLoanRecoveryUnit,
129
+            rs.province_loan_recovery_quantity provinceLoanRecoveryQuantity,
130
+            rs.province_loan_recovery_amount provinceLoanRecoveryAmount,
131
+            rs.province_invoice_unit provinceInvoiceUnit,
132
+            rs.province_invoice_quantity provinceInvoiceQuantity,
133
+            rs.province_invoice_unit_price provinceInvoiceUnitPrice,
134
+            rs.province_invoice_amount provinceInvoiceAmount,
135
+            rs.province_loan_return_time provinceLoanReturnTime,
136
+            rs.province_loan_return_amount provinceLoanReturnAmount,
137
+            rs.fs_out_confirm_id fsOutConfirmId
138
+        FROM
139
+            business_fs_sale_revenue_settle rs
140
+        WHERE
141
+            rs.fs_sale_revenue_id = #{id}
142
+    </select>
143
+    <select id="getCardDetailsInfo" parameterType="integer" resultType="com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.entity.FsSaleRevenueApprovalPrice">
144
+        SELECT
145
+            ap.id,
146
+            sc.basic_storehouse_id storehouseId,
147
+            bs.storehouse_name storehouseName,
148
+            sc.warehouse_id warehouseId,
149
+            bw.warehouse_name warehouseName,
150
+            sc.lssl,
151
+            sc.in_financial_verification inNinancialVerification,
152
+            ap.storage_amount storageAmount,
153
+            ap.document_number,
154
+            ap.document_upload,
155
+            ap.grain_situation_card_id,
156
+	        ap.fs_sale_revenue_id
157
+        FROM
158
+            business_fs_sale_revenue_approval_price ap
159
+        LEFT JOIN grain_situation_card sc ON ap.grain_situation_card_id = sc.id
160
+        LEFT JOIN basic_storehouse bs ON sc.basic_storehouse_id = bs.storehouse_id
161
+        LEFT JOIN basic_warehouse bw ON sc.warehouse_id = bw.warehouse_id
162
+        WHERE
163
+            ap.fs_sale_revenue_id = #{id}
164
+    </select>
165
+    <select id="getDiffPriceDetailsInfo" parameterType="integer" resultType="com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.entity.FsSaleRevenueDiffPrice">
166
+        SELECT
167
+            dp.id,
168
+            dp.fs_sale_revenue_id fsSaleRevenueId,
169
+            dp.project_type projectType,
170
+            dp.total_quantity totalQuantity,
171
+            dp.province_total_quantity provinceTotalQuantity,
172
+            dp.total_amount totalAmount,
173
+            dp.province_total_amount provinceTotalAmount
174
+        FROM
175
+            business_fs_sale_revenue_diff_price dp
176
+        WHERE
177
+            dp.fs_sale_revenue_id = #{id}
178
+    </select>
179
+    <select id="getOutStorageDetailed" parameterType="string" resultType="com.unis.financialSupervision.modular.priceApproval.entity.DataCPZ">
180
+        SELECT
181
+            cdIn.htbh,
182
+            cdIn2.sjckchmc storehouseName,
183
+            cdIn2.sjhwhmc warehouseName,
184
+            cdIn.cph qcph,
185
+            cdIn2.mz mzzl,
186
+            cdIn3.pz,
187
+            cdIn2.klhjz bzwkl,
188
+            cdIn.djsj cpzsj
189
+        FROM
190
+            data_crkyw_ckrmdj_default cdIn
191
+        LEFT JOIN data_crkyw_ckcmz_default cdIn2 ON cdIn.BizNo = cdIn2.BizNo
192
+        LEFT JOIN data_crkyw_ckcpz_default cdIn3 ON cdIn.BizNo = cdIn3.BizNo
193
+        WHERE
194
+            cdIn.htbh = #{contractNumber}
195
+    </select>
196
+    <select id="queryEntityById" parameterType="integer" resultType="com.unis.financialSupervision.modular.fsSaleRevenue.entity.FsSaleRevenue">
197
+        SELECT
198
+            sr.*, bc.contract_number contractNumber,
199
+            bc.attachment,
200
+	        oi.org_name orgName
201
+        FROM
202
+            business_fs_sale_revenue sr
203
+        LEFT JOIN business_contract bc ON sr.contract_id = bc.id
204
+        LEFT JOIN org_info oi ON oi.org_id = sr.org_id
205
+        WHERE
206
+            sr.id = #{id}
207
+    </select>
208
+</mapper>

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

@@ -0,0 +1,78 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenue.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+
19
+import javax.validation.constraints.NotBlank;
20
+import javax.validation.constraints.NotNull;
21
+import java.math.BigDecimal;
22
+import java.util.Date;
23
+
24
+/**
25
+ * 销售收入上缴添加参数
26
+ *
27
+ * @author QSHan
28
+ * @date  2024/07/29 14:04
29
+ **/
30
+@Getter
31
+@Setter
32
+public class FsSaleRevenueAddParam {
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
+
78
+}

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

@@ -0,0 +1,83 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenue.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+
19
+import javax.validation.constraints.NotBlank;
20
+import javax.validation.constraints.NotNull;
21
+import java.math.BigDecimal;
22
+import java.util.Date;
23
+
24
+/**
25
+ * 销售收入上缴编辑参数
26
+ *
27
+ * @author QSHan
28
+ * @date  2024/07/29 14:04
29
+ **/
30
+@Getter
31
+@Setter
32
+public class FsSaleRevenueEditParam {
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
+
83
+}

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

@@ -0,0 +1,36 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenue.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+
19
+import javax.validation.constraints.NotBlank;
20
+import javax.validation.constraints.NotNull;
21
+
22
+/**
23
+ * 销售收入上缴Id参数
24
+ *
25
+ * @author QSHan
26
+ * @date  2024/07/29 14:04
27
+ **/
28
+@Getter
29
+@Setter
30
+public class FsSaleRevenueIdParam {
31
+
32
+    /** 主键ID */
33
+    @ApiModelProperty(value = "主键ID", required = true)
34
+    @NotNull(message = "id不能为空")
35
+    private Integer id;
36
+}

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

@@ -0,0 +1,53 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenue.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+import java.math.BigDecimal;
19
+import java.util.Date;
20
+
21
+/**
22
+ * 销售收入上缴查询参数
23
+ *
24
+ * @author QSHan
25
+ * @date  2024/07/29 14:04
26
+ **/
27
+@Getter
28
+@Setter
29
+public class FsSaleRevenuePageParam {
30
+
31
+    /** 当前页 */
32
+    @ApiModelProperty(value = "当前页码")
33
+    private Integer current;
34
+
35
+    /** 每页条数 */
36
+    @ApiModelProperty(value = "每页条数")
37
+    private Integer size;
38
+
39
+    /** 排序字段 */
40
+    @ApiModelProperty(value = "排序字段,字段驼峰名称,如:userName")
41
+    private String sortField;
42
+
43
+    /** 排序方式 */
44
+    @ApiModelProperty(value = "排序方式,升序:ASCEND;降序:DESCEND")
45
+    private String sortOrder;
46
+
47
+    /** 关键词 */
48
+    @ApiModelProperty(value = "企业名称")
49
+    private String dwmc;
50
+
51
+    @ApiModelProperty(value = "库区名称")
52
+    private String orgName;
53
+}

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

@@ -0,0 +1,64 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenue.service;
14
+
15
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
16
+import com.baomidou.mybatisplus.extension.service.IService;
17
+import com.unis.financialSupervision.modular.fsSaleRevenue.entity.FsSaleRevenue;
18
+import com.unis.financialSupervision.modular.fsSaleRevenue.param.FsSaleRevenueAddParam;
19
+import com.unis.financialSupervision.modular.fsSaleRevenue.param.FsSaleRevenueEditParam;
20
+import com.unis.financialSupervision.modular.fsSaleRevenue.param.FsSaleRevenueIdParam;
21
+import com.unis.financialSupervision.modular.fsSaleRevenue.param.FsSaleRevenuePageParam;
22
+import com.unis.financialSupervision.modular.priceApproval.entity.DataCPZ;
23
+
24
+import java.util.List;
25
+
26
+/**
27
+ * 销售收入上缴Service接口
28
+ *
29
+ * @author QSHan
30
+ * @date  2024/07/29 14:04
31
+ **/
32
+public interface FsSaleRevenueService extends IService<FsSaleRevenue> {
33
+
34
+    /**
35
+     * 获取销售收入上缴分页
36
+     *
37
+     * @author QSHan
38
+     * @date  2024/07/29 14:04
39
+     */
40
+    Page<FsSaleRevenue> page(FsSaleRevenuePageParam fsSaleRevenuePageParam);
41
+
42
+    /**
43
+     * 编辑销售收入上缴
44
+     *
45
+     * @author QSHan
46
+     * @date  2024/07/29 14:04
47
+     */
48
+    void edit(FsSaleRevenue param);
49
+
50
+    /**
51
+     * 获取销售收入上缴详情
52
+     *
53
+     * @author QSHan
54
+     * @date  2024/07/29 14:04
55
+     */
56
+    FsSaleRevenue detail(FsSaleRevenueIdParam fsSaleRevenueIdParam);
57
+
58
+    /**
59
+     * 获取出入库明细
60
+     * @param contractNumber 合同编号
61
+     * @return list
62
+     */
63
+    List<DataCPZ> getOutStorageDetailed(String contractNumber);
64
+}

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

@@ -0,0 +1,217 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenue.service.impl;
14
+
15
+import cn.hutool.core.bean.BeanUtil;
16
+import cn.hutool.core.collection.CollStreamUtil;
17
+import cn.hutool.core.util.ObjectUtil;
18
+import cn.hutool.core.util.StrUtil;
19
+import com.baomidou.dynamic.datasource.annotation.DS;
20
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
21
+import com.baomidou.mybatisplus.core.toolkit.CollectionUtils;
22
+import com.baomidou.mybatisplus.core.toolkit.StringUtils;
23
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
24
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
25
+import com.unis.common.constant.DBConstant;
26
+import com.unis.financialSupervision.modular.fsSaleRevenue.entity.BusinessContractDetail;
27
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.entity.FsSaleRevenueApprovalPrice;
28
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.mapper.FsSaleRevenueApprovalPriceMapper;
29
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.entity.FsSaleRevenueDiffPrice;
30
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.mapper.FsSaleRevenueDiffPriceMapper;
31
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.entity.FsSaleRevenueInspectionLoss;
32
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.mapper.FsSaleRevenueInspectionLossMapper;
33
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.entity.FsSaleRevenueSettle;
34
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.mapper.FsSaleRevenueSettleMapper;
35
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.entity.FsSaleRevenueThreeConsistence;
36
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.mapper.FsSaleRevenueThreeConsistenceMapper;
37
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.entity.FsSaleRevenueThreeConsistenceAccount;
38
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.mapper.FsSaleRevenueThreeConsistenceAccountMapper;
39
+import com.unis.financialSupervision.modular.priceApproval.entity.DataCPZ;
40
+import org.springframework.stereotype.Service;
41
+import org.springframework.transaction.annotation.Transactional;
42
+import com.unis.common.enums.CommonSortOrderEnum;
43
+import com.unis.common.exception.CommonException;
44
+import com.unis.common.page.CommonPageRequest;
45
+import com.unis.financialSupervision.modular.fsSaleRevenue.entity.FsSaleRevenue;
46
+import com.unis.financialSupervision.modular.fsSaleRevenue.mapper.FsSaleRevenueMapper;
47
+import com.unis.financialSupervision.modular.fsSaleRevenue.param.FsSaleRevenueAddParam;
48
+import com.unis.financialSupervision.modular.fsSaleRevenue.param.FsSaleRevenueEditParam;
49
+import com.unis.financialSupervision.modular.fsSaleRevenue.param.FsSaleRevenueIdParam;
50
+import com.unis.financialSupervision.modular.fsSaleRevenue.param.FsSaleRevenuePageParam;
51
+import com.unis.financialSupervision.modular.fsSaleRevenue.service.FsSaleRevenueService;
52
+
53
+import javax.annotation.Resource;
54
+import java.math.BigDecimal;
55
+import java.util.List;
56
+
57
+/**
58
+ * 销售收入上缴Service接口实现类
59
+ *
60
+ * @author QSHan
61
+ * @date  2024/07/29 14:04
62
+ **/
63
+@Service
64
+@DS(DBConstant.DS_DEPOT)
65
+public class FsSaleRevenueServiceImpl extends ServiceImpl<FsSaleRevenueMapper, FsSaleRevenue> implements FsSaleRevenueService {
66
+    @Resource
67
+    private FsSaleRevenueMapper saleRevenueMapper;
68
+    @Resource
69
+    private FsSaleRevenueInspectionLossMapper saleRevenueInspectionLossMapper;
70
+    @Resource
71
+    private FsSaleRevenueThreeConsistenceAccountMapper threeConsistenceAccountMapper;
72
+    @Resource
73
+    private FsSaleRevenueThreeConsistenceMapper threeConsistenceMapper;
74
+    @Resource
75
+    private FsSaleRevenueSettleMapper settleMapper;
76
+    @Resource
77
+    private FsSaleRevenueApprovalPriceMapper approvalPriceMapper;
78
+    @Resource
79
+    private FsSaleRevenueDiffPriceMapper diffPriceMapper;
80
+
81
+    @Override
82
+    public Page<FsSaleRevenue> page(FsSaleRevenuePageParam fsSaleRevenuePageParam) {
83
+        QueryWrapper<FsSaleRevenue> queryWrapper = new QueryWrapper<>();
84
+        queryWrapper.ne("sr.`status`", 0);
85
+        if (StringUtils.isNotBlank(fsSaleRevenuePageParam.getDwmc())) {
86
+            queryWrapper.like("ui.dwmc", fsSaleRevenuePageParam.getDwmc());
87
+        }
88
+        if (StringUtils.isNotBlank(fsSaleRevenuePageParam.getOrgName())) {
89
+            queryWrapper.like("oi.org_name", fsSaleRevenuePageParam.getOrgName());
90
+        }
91
+
92
+        if(ObjectUtil.isAllNotEmpty(fsSaleRevenuePageParam.getSortField(), fsSaleRevenuePageParam.getSortOrder())) {
93
+            CommonSortOrderEnum.validate(fsSaleRevenuePageParam.getSortOrder());
94
+            queryWrapper.orderBy(true, fsSaleRevenuePageParam.getSortOrder().equals(CommonSortOrderEnum.ASC.getValue()),
95
+                    StrUtil.toUnderlineCase(fsSaleRevenuePageParam.getSortField()));
96
+        } else {
97
+            queryWrapper.lambda().orderByDesc(FsSaleRevenue::getId);
98
+        }
99
+        return saleRevenueMapper.pageList(CommonPageRequest.defaultPage(), queryWrapper);
100
+    }
101
+
102
+    @Transactional(rollbackFor = Exception.class)
103
+    @Override
104
+    public void edit(FsSaleRevenue param) {
105
+        // 修改主表
106
+        this.updateById(param);
107
+
108
+        // 修改子表-质检损益信息
109
+        this.inspectionLossUpdate(param.getInspectionLossList());
110
+
111
+        // 修改子表-三账一致性-会计账
112
+        this.threeConsistenceAccountUpdate(param.getThreeConsistenceAccountList());
113
+
114
+        // 修改子表-三账一致性-实际出库情况
115
+        this.threeConsistenceUpdate(param.getThreeConsistenceList());
116
+
117
+        // 修改子表-结算信息
118
+        this.revenueSettleUpdate(param.getRevenueSettleList());
119
+
120
+        // 修改子表-原核定入库价格
121
+        this.approvalPriceUpdate(param.getApprovalPriceList());
122
+
123
+        // 修改子表-差价上缴
124
+        this.diffPriceUpdate(param.getDiffPriceList());
125
+    }
126
+
127
+    @Override
128
+    public FsSaleRevenue detail(FsSaleRevenueIdParam fsSaleRevenueIdParam) {
129
+        // 查询主表
130
+        FsSaleRevenue saleRevenue = saleRevenueMapper.queryEntityById(fsSaleRevenueIdParam.getId());
131
+
132
+        // 查询子表-合同信息
133
+        List<BusinessContractDetail> contractInfoList = saleRevenueMapper.getContractInfoList(saleRevenue.getContractId());
134
+        if (CollectionUtils.isNotEmpty(contractInfoList)) {
135
+            saleRevenue.setContractDetails(contractInfoList);
136
+        }
137
+        // 查询子表-质检损益信息
138
+        List<FsSaleRevenueInspectionLoss> inspectionLossList = saleRevenueMapper.getQualityDetailsInfo(fsSaleRevenueIdParam.getId());
139
+        if (CollectionUtils.isNotEmpty(inspectionLossList)) {
140
+            saleRevenue.setInspectionLossList(inspectionLossList);
141
+        }
142
+        // 查询子表-三账一致性-会计账
143
+        List<FsSaleRevenueThreeConsistenceAccount> threeConsistenceList = saleRevenueMapper.getConsistenceAccountDetailsInfo(fsSaleRevenueIdParam.getId());
144
+        if (CollectionUtils.isNotEmpty(threeConsistenceList)) {
145
+            saleRevenue.setThreeConsistenceAccountList(threeConsistenceList);
146
+        }
147
+        // 查询子表-三账一致性-实际出库情况
148
+        List<FsSaleRevenueThreeConsistence> outStorageDetailsInfo = saleRevenueMapper.getOutStorageDetailsInfo(fsSaleRevenueIdParam.getId());
149
+        if (CollectionUtils.isNotEmpty(outStorageDetailsInfo)) {
150
+            saleRevenue.setThreeConsistenceList(outStorageDetailsInfo);
151
+        }
152
+        // 查询子表-结算信息
153
+        List<FsSaleRevenueSettle> revenueSettleList = saleRevenueMapper.getSettlementDetailsInfo(fsSaleRevenueIdParam.getId());
154
+        if (CollectionUtils.isNotEmpty(revenueSettleList)) {
155
+            saleRevenue.setRevenueSettleList(revenueSettleList);
156
+        }
157
+        // 查询子表-原核定入库价格
158
+        List<FsSaleRevenueApprovalPrice> approvalPriceList = saleRevenueMapper.getCardDetailsInfo(fsSaleRevenueIdParam.getId());
159
+        if (CollectionUtils.isNotEmpty(approvalPriceList)) {
160
+            saleRevenue.setApprovalPriceList(approvalPriceList);
161
+        }
162
+        // 查询子表-差价上缴
163
+        List<FsSaleRevenueDiffPrice> DiffPriceList = saleRevenueMapper.getDiffPriceDetailsInfo(fsSaleRevenueIdParam.getId());
164
+        if (CollectionUtils.isNotEmpty(DiffPriceList)) {
165
+            saleRevenue.setDiffPriceList(DiffPriceList);
166
+        }
167
+
168
+        return saleRevenue;
169
+    }
170
+
171
+    @Override
172
+    public List<DataCPZ> getOutStorageDetailed(String contractNumber) {
173
+        return saleRevenueMapper.getOutStorageDetailed(contractNumber);
174
+    }
175
+
176
+    // 修改子表-质检损益信息
177
+    private void inspectionLossUpdate(List<FsSaleRevenueInspectionLoss> inspectionLossList) {
178
+        if (CollectionUtils.isNotEmpty(inspectionLossList)) {
179
+            inspectionLossList.forEach(inspectionLoss -> saleRevenueInspectionLossMapper.updateById(inspectionLoss));
180
+        }
181
+    }
182
+
183
+    // 修改子表-三账一致性-会计账
184
+    private void threeConsistenceAccountUpdate(List<FsSaleRevenueThreeConsistenceAccount> threeConsistenceAccountList) {
185
+        if (CollectionUtils.isNotEmpty(threeConsistenceAccountList)) {
186
+            threeConsistenceAccountList.forEach(threeConsistenceAccount -> threeConsistenceAccountMapper.updateById(threeConsistenceAccount));
187
+        }
188
+    }
189
+
190
+    // 修改子表-三账一致性-实际出库情况
191
+    private void threeConsistenceUpdate(List<FsSaleRevenueThreeConsistence> threeConsistenceList) {
192
+        if (CollectionUtils.isNotEmpty(threeConsistenceList)) {
193
+            threeConsistenceList.forEach(threeConsistence -> threeConsistenceMapper.updateById(threeConsistence));
194
+        }
195
+    }
196
+
197
+    // 修改子表-结算信息
198
+    private void revenueSettleUpdate(List<FsSaleRevenueSettle> revenueSettleList) {
199
+        if (CollectionUtils.isNotEmpty(revenueSettleList)) {
200
+            revenueSettleList.forEach(revenueSettle -> settleMapper.updateById(revenueSettle));
201
+        }
202
+    }
203
+
204
+    // 修改子表-原核定入库价格
205
+    private void approvalPriceUpdate(List<FsSaleRevenueApprovalPrice> approvalPriceList) {
206
+        if (CollectionUtils.isNotEmpty(approvalPriceList)) {
207
+            approvalPriceList.forEach(approvalPrice -> approvalPriceMapper.updateById(approvalPrice));
208
+        }
209
+    }
210
+
211
+    // 修改子表-差价上缴
212
+    private void diffPriceUpdate(List<FsSaleRevenueDiffPrice> DiffPriceList) {
213
+        if (CollectionUtils.isNotEmpty(DiffPriceList)) {
214
+            DiffPriceList.forEach(DiffPrice -> diffPriceMapper.updateById(DiffPrice));
215
+        }
216
+    }
217
+}

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

@@ -0,0 +1,145 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ *//*
13
+
14
+package com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.controller;
15
+
16
+import cn.dev33.satoken.annotation.SaCheckPermission;
17
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
18
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
19
+import com.github.xiaoymin.knife4j.annotations.ApiSupport;
20
+import io.swagger.annotations.Api;
21
+import io.swagger.annotations.ApiOperation;
22
+import org.springframework.validation.annotation.Validated;
23
+import org.springframework.web.bind.annotation.GetMapping;
24
+import org.springframework.web.bind.annotation.PostMapping;
25
+import org.springframework.web.bind.annotation.RequestBody;
26
+import org.springframework.web.bind.annotation.RestController;
27
+import com.unis.common.annotation.CommonLog;
28
+import com.unis.common.pojo.CommonResult;
29
+import com.unis.common.pojo.CommonValidList;
30
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.entity.FsSaleRevenueApprovalPrice;
31
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.param.FsSaleRevenueApprovalPriceAddParam;
32
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.param.FsSaleRevenueApprovalPriceEditParam;
33
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.param.FsSaleRevenueApprovalPriceIdParam;
34
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.param.FsSaleRevenueApprovalPricePageParam;
35
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.service.FsSaleRevenueApprovalPriceService;
36
+
37
+import javax.annotation.Resource;
38
+import javax.validation.Valid;
39
+import javax.validation.constraints.NotEmpty;
40
+
41
+*/
42
+/**
43
+ * 销售收入上缴-原核定入库价格控制器
44
+ *
45
+ * @author QSHan
46
+ * @date  2024/07/29 15:26
47
+ *//*
48
+
49
+@Api(tags = "销售收入上缴-原核定入库价格控制器")
50
+@ApiSupport(author = "UNIS_TEAM", order = 1)
51
+@RestController
52
+@Validated
53
+public class FsSaleRevenueApprovalPriceController {
54
+
55
+    @Resource
56
+    private FsSaleRevenueApprovalPriceService fsSaleRevenueApprovalPriceService;
57
+
58
+    */
59
+/**
60
+     * 获取销售收入上缴-原核定入库价格分页
61
+     *
62
+     * @author QSHan
63
+     * @date  2024/07/29 15:26
64
+     *//*
65
+
66
+    @ApiOperationSupport(order = 1)
67
+    @ApiOperation("获取销售收入上缴-原核定入库价格分页")
68
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueApprovalPrice/page")
69
+    @GetMapping("/financialSupervision/fsSaleRevenueApprovalPrice/page")
70
+    public CommonResult<Page<FsSaleRevenueApprovalPrice>> page(FsSaleRevenueApprovalPricePageParam fsSaleRevenueApprovalPricePageParam) {
71
+        return CommonResult.data(fsSaleRevenueApprovalPriceService.page(fsSaleRevenueApprovalPricePageParam));
72
+    }
73
+
74
+    */
75
+/**
76
+     * 添加销售收入上缴-原核定入库价格
77
+     *
78
+     * @author QSHan
79
+     * @date  2024/07/29 15:26
80
+     *//*
81
+
82
+    @ApiOperationSupport(order = 2)
83
+    @ApiOperation("添加销售收入上缴-原核定入库价格")
84
+    @CommonLog("添加销售收入上缴-原核定入库价格")
85
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueApprovalPrice/add")
86
+    @PostMapping("/financialSupervision/fsSaleRevenueApprovalPrice/add")
87
+    public CommonResult<String> add(@RequestBody @Valid FsSaleRevenueApprovalPriceAddParam fsSaleRevenueApprovalPriceAddParam) {
88
+        fsSaleRevenueApprovalPriceService.add(fsSaleRevenueApprovalPriceAddParam);
89
+        return CommonResult.ok();
90
+    }
91
+
92
+    */
93
+/**
94
+     * 编辑销售收入上缴-原核定入库价格
95
+     *
96
+     * @author QSHan
97
+     * @date  2024/07/29 15:26
98
+     *//*
99
+
100
+    @ApiOperationSupport(order = 3)
101
+    @ApiOperation("编辑销售收入上缴-原核定入库价格")
102
+    @CommonLog("编辑销售收入上缴-原核定入库价格")
103
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueApprovalPrice/edit")
104
+    @PostMapping("/financialSupervision/fsSaleRevenueApprovalPrice/edit")
105
+    public CommonResult<String> edit(@RequestBody @Valid FsSaleRevenueApprovalPriceEditParam fsSaleRevenueApprovalPriceEditParam) {
106
+        fsSaleRevenueApprovalPriceService.edit(fsSaleRevenueApprovalPriceEditParam);
107
+        return CommonResult.ok();
108
+    }
109
+
110
+    */
111
+/**
112
+     * 删除销售收入上缴-原核定入库价格
113
+     *
114
+     * @author QSHan
115
+     * @date  2024/07/29 15:26
116
+     *//*
117
+
118
+    @ApiOperationSupport(order = 4)
119
+    @ApiOperation("删除销售收入上缴-原核定入库价格")
120
+    @CommonLog("删除销售收入上缴-原核定入库价格")
121
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueApprovalPrice/delete")
122
+    @PostMapping("/financialSupervision/fsSaleRevenueApprovalPrice/delete")
123
+    public CommonResult<String> delete(@RequestBody @Valid @NotEmpty(message = "集合不能为空")
124
+                                                   CommonValidList<FsSaleRevenueApprovalPriceIdParam> fsSaleRevenueApprovalPriceIdParamList) {
125
+        fsSaleRevenueApprovalPriceService.delete(fsSaleRevenueApprovalPriceIdParamList);
126
+        return CommonResult.ok();
127
+    }
128
+
129
+    */
130
+/**
131
+     * 获取销售收入上缴-原核定入库价格详情
132
+     *
133
+     * @author QSHan
134
+     * @date  2024/07/29 15:26
135
+     *//*
136
+
137
+    @ApiOperationSupport(order = 5)
138
+    @ApiOperation("获取销售收入上缴-原核定入库价格详情")
139
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueApprovalPrice/detail")
140
+    @GetMapping("/financialSupervision/fsSaleRevenueApprovalPrice/detail")
141
+    public CommonResult<FsSaleRevenueApprovalPrice> detail(@Valid FsSaleRevenueApprovalPriceIdParam fsSaleRevenueApprovalPriceIdParam) {
142
+        return CommonResult.data(fsSaleRevenueApprovalPriceService.detail(fsSaleRevenueApprovalPriceIdParam));
143
+    }
144
+}
145
+*/

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

@@ -0,0 +1,97 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.entity;
14
+
15
+import com.baomidou.mybatisplus.annotation.*;
16
+import io.swagger.annotations.ApiModelProperty;
17
+import lombok.Getter;
18
+import lombok.Setter;
19
+import java.math.BigDecimal;
20
+import java.util.Date;
21
+
22
+/**
23
+ * 销售收入上缴-原核定入库价格实体
24
+ *
25
+ * @author QSHan
26
+ * @date  2024/07/29 15:26
27
+ **/
28
+@Getter
29
+@Setter
30
+@TableName("business_fs_sale_revenue_approval_price")
31
+public class FsSaleRevenueApprovalPrice {
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;
97
+}

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

@@ -0,0 +1,34 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.enums;
14
+
15
+import lombok.Getter;
16
+
17
+/**
18
+ * 销售收入上缴-原核定入库价格枚举
19
+ *
20
+ * @author QSHan
21
+ * @date  2024/07/29 15:26
22
+ **/
23
+@Getter
24
+public enum FsSaleRevenueApprovalPriceEnum {
25
+
26
+    /** 测试 */
27
+    TEST("TEST");
28
+
29
+    private final String value;
30
+
31
+    FsSaleRevenueApprovalPriceEnum(String value) {
32
+        this.value = value;
33
+    }
34
+}

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

@@ -0,0 +1,25 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.mapper;
14
+
15
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
16
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.entity.FsSaleRevenueApprovalPrice;
17
+
18
+/**
19
+ * 销售收入上缴-原核定入库价格Mapper接口
20
+ *
21
+ * @author QSHan
22
+ * @date  2024/07/29 15:26
23
+ **/
24
+public interface FsSaleRevenueApprovalPriceMapper extends BaseMapper<FsSaleRevenueApprovalPrice> {
25
+}

+ 5 - 0
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueApprovalPrice/mapper/mapping/FsSaleRevenueApprovalPriceMapper.xml

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+<mapper namespace="com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.mapper.FsSaleRevenueApprovalPriceMapper">
4
+
5
+</mapper>

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

@@ -0,0 +1,70 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+
19
+import javax.validation.constraints.NotBlank;
20
+import javax.validation.constraints.NotNull;
21
+import java.math.BigDecimal;
22
+import java.util.Date;
23
+
24
+/**
25
+ * 销售收入上缴-原核定入库价格添加参数
26
+ *
27
+ * @author QSHan
28
+ * @date  2024/07/29 15:26
29
+ **/
30
+@Getter
31
+@Setter
32
+public class FsSaleRevenueApprovalPriceAddParam {
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
+
70
+}

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

@@ -0,0 +1,75 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+
19
+import javax.validation.constraints.NotBlank;
20
+import javax.validation.constraints.NotNull;
21
+import java.math.BigDecimal;
22
+import java.util.Date;
23
+
24
+/**
25
+ * 销售收入上缴-原核定入库价格编辑参数
26
+ *
27
+ * @author QSHan
28
+ * @date  2024/07/29 15:26
29
+ **/
30
+@Getter
31
+@Setter
32
+public class FsSaleRevenueApprovalPriceEditParam {
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
+
75
+}

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

@@ -0,0 +1,35 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+
19
+import javax.validation.constraints.NotBlank;
20
+
21
+/**
22
+ * 销售收入上缴-原核定入库价格Id参数
23
+ *
24
+ * @author QSHan
25
+ * @date  2024/07/29 15:26
26
+ **/
27
+@Getter
28
+@Setter
29
+public class FsSaleRevenueApprovalPriceIdParam {
30
+
31
+    /** 主键ID */
32
+    @ApiModelProperty(value = "主键ID", required = true)
33
+    @NotBlank(message = "id不能为空")
34
+    private Integer id;
35
+}

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

@@ -0,0 +1,51 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+import java.math.BigDecimal;
19
+import java.util.Date;
20
+
21
+/**
22
+ * 销售收入上缴-原核定入库价格查询参数
23
+ *
24
+ * @author QSHan
25
+ * @date  2024/07/29 15:26
26
+ **/
27
+@Getter
28
+@Setter
29
+public class FsSaleRevenueApprovalPricePageParam {
30
+
31
+    /** 当前页 */
32
+    @ApiModelProperty(value = "当前页码")
33
+    private Integer current;
34
+
35
+    /** 每页条数 */
36
+    @ApiModelProperty(value = "每页条数")
37
+    private Integer size;
38
+
39
+    /** 排序字段 */
40
+    @ApiModelProperty(value = "排序字段,字段驼峰名称,如:userName")
41
+    private String sortField;
42
+
43
+    /** 排序方式 */
44
+    @ApiModelProperty(value = "排序方式,升序:ASCEND;降序:DESCEND")
45
+    private String sortOrder;
46
+
47
+    /** 关键词 */
48
+    @ApiModelProperty(value = "关键词")
49
+    private String searchKey;
50
+
51
+}

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

@@ -0,0 +1,80 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.service;
14
+
15
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
16
+import com.baomidou.mybatisplus.extension.service.IService;
17
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.entity.FsSaleRevenueApprovalPrice;
18
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.param.FsSaleRevenueApprovalPriceAddParam;
19
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.param.FsSaleRevenueApprovalPriceEditParam;
20
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.param.FsSaleRevenueApprovalPriceIdParam;
21
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.param.FsSaleRevenueApprovalPricePageParam;
22
+
23
+import java.util.List;
24
+
25
+/**
26
+ * 销售收入上缴-原核定入库价格Service接口
27
+ *
28
+ * @author QSHan
29
+ * @date  2024/07/29 15:26
30
+ **/
31
+public interface FsSaleRevenueApprovalPriceService extends IService<FsSaleRevenueApprovalPrice> {
32
+
33
+    /**
34
+     * 获取销售收入上缴-原核定入库价格分页
35
+     *
36
+     * @author QSHan
37
+     * @date  2024/07/29 15:26
38
+     */
39
+    Page<FsSaleRevenueApprovalPrice> page(FsSaleRevenueApprovalPricePageParam fsSaleRevenueApprovalPricePageParam);
40
+
41
+    /**
42
+     * 添加销售收入上缴-原核定入库价格
43
+     *
44
+     * @author QSHan
45
+     * @date  2024/07/29 15:26
46
+     */
47
+    void add(FsSaleRevenueApprovalPriceAddParam fsSaleRevenueApprovalPriceAddParam);
48
+
49
+    /**
50
+     * 编辑销售收入上缴-原核定入库价格
51
+     *
52
+     * @author QSHan
53
+     * @date  2024/07/29 15:26
54
+     */
55
+    void edit(FsSaleRevenueApprovalPriceEditParam fsSaleRevenueApprovalPriceEditParam);
56
+
57
+    /**
58
+     * 删除销售收入上缴-原核定入库价格
59
+     *
60
+     * @author QSHan
61
+     * @date  2024/07/29 15:26
62
+     */
63
+    void delete(List<FsSaleRevenueApprovalPriceIdParam> fsSaleRevenueApprovalPriceIdParamList);
64
+
65
+    /**
66
+     * 获取销售收入上缴-原核定入库价格详情
67
+     *
68
+     * @author QSHan
69
+     * @date  2024/07/29 15:26
70
+     */
71
+    FsSaleRevenueApprovalPrice detail(FsSaleRevenueApprovalPriceIdParam fsSaleRevenueApprovalPriceIdParam);
72
+
73
+    /**
74
+     * 获取销售收入上缴-原核定入库价格详情
75
+     *
76
+     * @author QSHan
77
+     * @date  2024/07/29 15:26
78
+     **/
79
+    FsSaleRevenueApprovalPrice queryEntity(Integer id);
80
+}

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

@@ -0,0 +1,94 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.service.impl;
14
+
15
+import cn.hutool.core.bean.BeanUtil;
16
+import cn.hutool.core.collection.CollStreamUtil;
17
+import cn.hutool.core.util.ObjectUtil;
18
+import cn.hutool.core.util.StrUtil;
19
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
20
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
21
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
22
+import org.springframework.stereotype.Service;
23
+import org.springframework.transaction.annotation.Transactional;
24
+import com.unis.common.enums.CommonSortOrderEnum;
25
+import com.unis.common.exception.CommonException;
26
+import com.unis.common.page.CommonPageRequest;
27
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.entity.FsSaleRevenueApprovalPrice;
28
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.mapper.FsSaleRevenueApprovalPriceMapper;
29
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.param.FsSaleRevenueApprovalPriceAddParam;
30
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.param.FsSaleRevenueApprovalPriceEditParam;
31
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.param.FsSaleRevenueApprovalPriceIdParam;
32
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.param.FsSaleRevenueApprovalPricePageParam;
33
+import com.unis.financialSupervision.modular.fsSaleRevenueApprovalPrice.service.FsSaleRevenueApprovalPriceService;
34
+
35
+import java.util.List;
36
+
37
+/**
38
+ * 销售收入上缴-原核定入库价格Service接口实现类
39
+ *
40
+ * @author QSHan
41
+ * @date  2024/07/29 15:26
42
+ **/
43
+@Service
44
+public class FsSaleRevenueApprovalPriceServiceImpl extends ServiceImpl<FsSaleRevenueApprovalPriceMapper, FsSaleRevenueApprovalPrice> implements FsSaleRevenueApprovalPriceService {
45
+
46
+    @Override
47
+    public Page<FsSaleRevenueApprovalPrice> page(FsSaleRevenueApprovalPricePageParam fsSaleRevenueApprovalPricePageParam) {
48
+        QueryWrapper<FsSaleRevenueApprovalPrice> queryWrapper = new QueryWrapper<>();
49
+        if(ObjectUtil.isAllNotEmpty(fsSaleRevenueApprovalPricePageParam.getSortField(), fsSaleRevenueApprovalPricePageParam.getSortOrder())) {
50
+            CommonSortOrderEnum.validate(fsSaleRevenueApprovalPricePageParam.getSortOrder());
51
+            queryWrapper.orderBy(true, fsSaleRevenueApprovalPricePageParam.getSortOrder().equals(CommonSortOrderEnum.ASC.getValue()),
52
+                    StrUtil.toUnderlineCase(fsSaleRevenueApprovalPricePageParam.getSortField()));
53
+        } else {
54
+            queryWrapper.lambda().orderByAsc(FsSaleRevenueApprovalPrice::getId);
55
+        }
56
+        return this.page(CommonPageRequest.defaultPage(), queryWrapper);
57
+    }
58
+
59
+    @Transactional(rollbackFor = Exception.class)
60
+    @Override
61
+    public void add(FsSaleRevenueApprovalPriceAddParam fsSaleRevenueApprovalPriceAddParam) {
62
+        FsSaleRevenueApprovalPrice fsSaleRevenueApprovalPrice = BeanUtil.toBean(fsSaleRevenueApprovalPriceAddParam, FsSaleRevenueApprovalPrice.class);
63
+        this.save(fsSaleRevenueApprovalPrice);
64
+    }
65
+
66
+    @Transactional(rollbackFor = Exception.class)
67
+    @Override
68
+    public void edit(FsSaleRevenueApprovalPriceEditParam fsSaleRevenueApprovalPriceEditParam) {
69
+        FsSaleRevenueApprovalPrice fsSaleRevenueApprovalPrice = this.queryEntity(fsSaleRevenueApprovalPriceEditParam.getId());
70
+        BeanUtil.copyProperties(fsSaleRevenueApprovalPriceEditParam, fsSaleRevenueApprovalPrice);
71
+        this.updateById(fsSaleRevenueApprovalPrice);
72
+    }
73
+
74
+    @Transactional(rollbackFor = Exception.class)
75
+    @Override
76
+    public void delete(List<FsSaleRevenueApprovalPriceIdParam> fsSaleRevenueApprovalPriceIdParamList) {
77
+        // 执行删除
78
+        this.removeByIds(CollStreamUtil.toList(fsSaleRevenueApprovalPriceIdParamList, FsSaleRevenueApprovalPriceIdParam::getId));
79
+    }
80
+
81
+    @Override
82
+    public FsSaleRevenueApprovalPrice detail(FsSaleRevenueApprovalPriceIdParam fsSaleRevenueApprovalPriceIdParam) {
83
+        return this.queryEntity(fsSaleRevenueApprovalPriceIdParam.getId());
84
+    }
85
+
86
+    @Override
87
+    public FsSaleRevenueApprovalPrice queryEntity(Integer id) {
88
+        FsSaleRevenueApprovalPrice fsSaleRevenueApprovalPrice = this.getById(id);
89
+        if(ObjectUtil.isEmpty(fsSaleRevenueApprovalPrice)) {
90
+            throw new CommonException("销售收入上缴-原核定入库价格不存在,id值为:{}", id);
91
+        }
92
+        return fsSaleRevenueApprovalPrice;
93
+    }
94
+}

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

@@ -0,0 +1,145 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ *//*
13
+
14
+package com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.controller;
15
+
16
+import cn.dev33.satoken.annotation.SaCheckPermission;
17
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
18
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
19
+import com.github.xiaoymin.knife4j.annotations.ApiSupport;
20
+import io.swagger.annotations.Api;
21
+import io.swagger.annotations.ApiOperation;
22
+import org.springframework.validation.annotation.Validated;
23
+import org.springframework.web.bind.annotation.GetMapping;
24
+import org.springframework.web.bind.annotation.PostMapping;
25
+import org.springframework.web.bind.annotation.RequestBody;
26
+import org.springframework.web.bind.annotation.RestController;
27
+import com.unis.common.annotation.CommonLog;
28
+import com.unis.common.pojo.CommonResult;
29
+import com.unis.common.pojo.CommonValidList;
30
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.entity.FsSaleRevenueDiffPrice;
31
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.param.FsSaleRevenueDiffPriceAddParam;
32
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.param.FsSaleRevenueDiffPriceEditParam;
33
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.param.FsSaleRevenueDiffPriceIdParam;
34
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.param.FsSaleRevenueDiffPricePageParam;
35
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.service.FsSaleRevenueDiffPriceService;
36
+
37
+import javax.annotation.Resource;
38
+import javax.validation.Valid;
39
+import javax.validation.constraints.NotEmpty;
40
+
41
+*/
42
+/**
43
+ * 销售收入上缴-差额上缴控制器
44
+ *
45
+ * @author QSHan
46
+ * @date  2024/07/29 15:31
47
+ *//*
48
+
49
+@Api(tags = "销售收入上缴-差额上缴控制器")
50
+@ApiSupport(author = "UNIS_TEAM", order = 1)
51
+@RestController
52
+@Validated
53
+public class FsSaleRevenueDiffPriceController {
54
+
55
+    @Resource
56
+    private FsSaleRevenueDiffPriceService fsSaleRevenueDiffPriceService;
57
+
58
+    */
59
+/**
60
+     * 获取销售收入上缴-差额上缴分页
61
+     *
62
+     * @author QSHan
63
+     * @date  2024/07/29 15:31
64
+     *//*
65
+
66
+    @ApiOperationSupport(order = 1)
67
+    @ApiOperation("获取销售收入上缴-差额上缴分页")
68
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueDiffPrice/page")
69
+    @GetMapping("/financialSupervision/fsSaleRevenueDiffPrice/page")
70
+    public CommonResult<Page<FsSaleRevenueDiffPrice>> page(FsSaleRevenueDiffPricePageParam fsSaleRevenueDiffPricePageParam) {
71
+        return CommonResult.data(fsSaleRevenueDiffPriceService.page(fsSaleRevenueDiffPricePageParam));
72
+    }
73
+
74
+    */
75
+/**
76
+     * 添加销售收入上缴-差额上缴
77
+     *
78
+     * @author QSHan
79
+     * @date  2024/07/29 15:31
80
+     *//*
81
+
82
+    @ApiOperationSupport(order = 2)
83
+    @ApiOperation("添加销售收入上缴-差额上缴")
84
+    @CommonLog("添加销售收入上缴-差额上缴")
85
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueDiffPrice/add")
86
+    @PostMapping("/financialSupervision/fsSaleRevenueDiffPrice/add")
87
+    public CommonResult<String> add(@RequestBody @Valid FsSaleRevenueDiffPriceAddParam fsSaleRevenueDiffPriceAddParam) {
88
+        fsSaleRevenueDiffPriceService.add(fsSaleRevenueDiffPriceAddParam);
89
+        return CommonResult.ok();
90
+    }
91
+
92
+    */
93
+/**
94
+     * 编辑销售收入上缴-差额上缴
95
+     *
96
+     * @author QSHan
97
+     * @date  2024/07/29 15:31
98
+     *//*
99
+
100
+    @ApiOperationSupport(order = 3)
101
+    @ApiOperation("编辑销售收入上缴-差额上缴")
102
+    @CommonLog("编辑销售收入上缴-差额上缴")
103
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueDiffPrice/edit")
104
+    @PostMapping("/financialSupervision/fsSaleRevenueDiffPrice/edit")
105
+    public CommonResult<String> edit(@RequestBody @Valid FsSaleRevenueDiffPriceEditParam fsSaleRevenueDiffPriceEditParam) {
106
+        fsSaleRevenueDiffPriceService.edit(fsSaleRevenueDiffPriceEditParam);
107
+        return CommonResult.ok();
108
+    }
109
+
110
+    */
111
+/**
112
+     * 删除销售收入上缴-差额上缴
113
+     *
114
+     * @author QSHan
115
+     * @date  2024/07/29 15:31
116
+     *//*
117
+
118
+    @ApiOperationSupport(order = 4)
119
+    @ApiOperation("删除销售收入上缴-差额上缴")
120
+    @CommonLog("删除销售收入上缴-差额上缴")
121
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueDiffPrice/delete")
122
+    @PostMapping("/financialSupervision/fsSaleRevenueDiffPrice/delete")
123
+    public CommonResult<String> delete(@RequestBody @Valid @NotEmpty(message = "集合不能为空")
124
+                                                   CommonValidList<FsSaleRevenueDiffPriceIdParam> fsSaleRevenueDiffPriceIdParamList) {
125
+        fsSaleRevenueDiffPriceService.delete(fsSaleRevenueDiffPriceIdParamList);
126
+        return CommonResult.ok();
127
+    }
128
+
129
+    */
130
+/**
131
+     * 获取销售收入上缴-差额上缴详情
132
+     *
133
+     * @author QSHan
134
+     * @date  2024/07/29 15:31
135
+     *//*
136
+
137
+    @ApiOperationSupport(order = 5)
138
+    @ApiOperation("获取销售收入上缴-差额上缴详情")
139
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueDiffPrice/detail")
140
+    @GetMapping("/financialSupervision/fsSaleRevenueDiffPrice/detail")
141
+    public CommonResult<FsSaleRevenueDiffPrice> detail(@Valid FsSaleRevenueDiffPriceIdParam fsSaleRevenueDiffPriceIdParam) {
142
+        return CommonResult.data(fsSaleRevenueDiffPriceService.detail(fsSaleRevenueDiffPriceIdParam));
143
+    }
144
+}
145
+*/

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

@@ -0,0 +1,77 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.entity;
14
+
15
+import com.baomidou.mybatisplus.annotation.*;
16
+import io.swagger.annotations.ApiModelProperty;
17
+import lombok.Getter;
18
+import lombok.Setter;
19
+import java.math.BigDecimal;
20
+import java.util.Date;
21
+
22
+/**
23
+ * 销售收入上缴-差额上缴实体
24
+ *
25
+ * @author QSHan
26
+ * @date  2024/07/29 15:31
27
+ **/
28
+@Getter
29
+@Setter
30
+@TableName("business_fs_sale_revenue_diff_price")
31
+public class FsSaleRevenueDiffPrice {
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;
77
+}

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

@@ -0,0 +1,34 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.enums;
14
+
15
+import lombok.Getter;
16
+
17
+/**
18
+ * 销售收入上缴-差额上缴枚举
19
+ *
20
+ * @author QSHan
21
+ * @date  2024/07/29 15:31
22
+ **/
23
+@Getter
24
+public enum FsSaleRevenueDiffPriceEnum {
25
+
26
+    /** 测试 */
27
+    TEST("TEST");
28
+
29
+    private final String value;
30
+
31
+    FsSaleRevenueDiffPriceEnum(String value) {
32
+        this.value = value;
33
+    }
34
+}

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

@@ -0,0 +1,25 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.mapper;
14
+
15
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
16
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.entity.FsSaleRevenueDiffPrice;
17
+
18
+/**
19
+ * 销售收入上缴-差额上缴Mapper接口
20
+ *
21
+ * @author QSHan
22
+ * @date  2024/07/29 15:31
23
+ **/
24
+public interface FsSaleRevenueDiffPriceMapper extends BaseMapper<FsSaleRevenueDiffPrice> {
25
+}

+ 5 - 0
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueDiffPrice/mapper/mapping/FsSaleRevenueDiffPriceMapper.xml

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+<mapper namespace="com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.mapper.FsSaleRevenueDiffPriceMapper">
4
+
5
+</mapper>

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

@@ -0,0 +1,74 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+
19
+import javax.validation.constraints.NotBlank;
20
+import javax.validation.constraints.NotNull;
21
+import java.math.BigDecimal;
22
+import java.util.Date;
23
+
24
+/**
25
+ * 销售收入上缴-差额上缴添加参数
26
+ *
27
+ * @author QSHan
28
+ * @date  2024/07/29 15:31
29
+ **/
30
+@Getter
31
+@Setter
32
+public class FsSaleRevenueDiffPriceAddParam {
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
+
74
+}

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

@@ -0,0 +1,79 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+
19
+import javax.validation.constraints.NotBlank;
20
+import javax.validation.constraints.NotNull;
21
+import java.math.BigDecimal;
22
+import java.util.Date;
23
+
24
+/**
25
+ * 销售收入上缴-差额上缴编辑参数
26
+ *
27
+ * @author QSHan
28
+ * @date  2024/07/29 15:31
29
+ **/
30
+@Getter
31
+@Setter
32
+public class FsSaleRevenueDiffPriceEditParam {
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
+
79
+}

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

@@ -0,0 +1,35 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+
19
+import javax.validation.constraints.NotBlank;
20
+
21
+/**
22
+ * 销售收入上缴-差额上缴Id参数
23
+ *
24
+ * @author QSHan
25
+ * @date  2024/07/29 15:31
26
+ **/
27
+@Getter
28
+@Setter
29
+public class FsSaleRevenueDiffPriceIdParam {
30
+
31
+    /** 主键ID */
32
+    @ApiModelProperty(value = "主键ID", required = true)
33
+    @NotBlank(message = "id不能为空")
34
+    private Integer id;
35
+}

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

@@ -0,0 +1,51 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+import java.math.BigDecimal;
19
+import java.util.Date;
20
+
21
+/**
22
+ * 销售收入上缴-差额上缴查询参数
23
+ *
24
+ * @author QSHan
25
+ * @date  2024/07/29 15:31
26
+ **/
27
+@Getter
28
+@Setter
29
+public class FsSaleRevenueDiffPricePageParam {
30
+
31
+    /** 当前页 */
32
+    @ApiModelProperty(value = "当前页码")
33
+    private Integer current;
34
+
35
+    /** 每页条数 */
36
+    @ApiModelProperty(value = "每页条数")
37
+    private Integer size;
38
+
39
+    /** 排序字段 */
40
+    @ApiModelProperty(value = "排序字段,字段驼峰名称,如:userName")
41
+    private String sortField;
42
+
43
+    /** 排序方式 */
44
+    @ApiModelProperty(value = "排序方式,升序:ASCEND;降序:DESCEND")
45
+    private String sortOrder;
46
+
47
+    /** 关键词 */
48
+    @ApiModelProperty(value = "关键词")
49
+    private String searchKey;
50
+
51
+}

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

@@ -0,0 +1,80 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.service;
14
+
15
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
16
+import com.baomidou.mybatisplus.extension.service.IService;
17
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.entity.FsSaleRevenueDiffPrice;
18
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.param.FsSaleRevenueDiffPriceAddParam;
19
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.param.FsSaleRevenueDiffPriceEditParam;
20
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.param.FsSaleRevenueDiffPriceIdParam;
21
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.param.FsSaleRevenueDiffPricePageParam;
22
+
23
+import java.util.List;
24
+
25
+/**
26
+ * 销售收入上缴-差额上缴Service接口
27
+ *
28
+ * @author QSHan
29
+ * @date  2024/07/29 15:31
30
+ **/
31
+public interface FsSaleRevenueDiffPriceService extends IService<FsSaleRevenueDiffPrice> {
32
+
33
+    /**
34
+     * 获取销售收入上缴-差额上缴分页
35
+     *
36
+     * @author QSHan
37
+     * @date  2024/07/29 15:31
38
+     */
39
+    Page<FsSaleRevenueDiffPrice> page(FsSaleRevenueDiffPricePageParam fsSaleRevenueDiffPricePageParam);
40
+
41
+    /**
42
+     * 添加销售收入上缴-差额上缴
43
+     *
44
+     * @author QSHan
45
+     * @date  2024/07/29 15:31
46
+     */
47
+    void add(FsSaleRevenueDiffPriceAddParam fsSaleRevenueDiffPriceAddParam);
48
+
49
+    /**
50
+     * 编辑销售收入上缴-差额上缴
51
+     *
52
+     * @author QSHan
53
+     * @date  2024/07/29 15:31
54
+     */
55
+    void edit(FsSaleRevenueDiffPriceEditParam fsSaleRevenueDiffPriceEditParam);
56
+
57
+    /**
58
+     * 删除销售收入上缴-差额上缴
59
+     *
60
+     * @author QSHan
61
+     * @date  2024/07/29 15:31
62
+     */
63
+    void delete(List<FsSaleRevenueDiffPriceIdParam> fsSaleRevenueDiffPriceIdParamList);
64
+
65
+    /**
66
+     * 获取销售收入上缴-差额上缴详情
67
+     *
68
+     * @author QSHan
69
+     * @date  2024/07/29 15:31
70
+     */
71
+    FsSaleRevenueDiffPrice detail(FsSaleRevenueDiffPriceIdParam fsSaleRevenueDiffPriceIdParam);
72
+
73
+    /**
74
+     * 获取销售收入上缴-差额上缴详情
75
+     *
76
+     * @author QSHan
77
+     * @date  2024/07/29 15:31
78
+     **/
79
+    FsSaleRevenueDiffPrice queryEntity(Integer id);
80
+}

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

@@ -0,0 +1,94 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.service.impl;
14
+
15
+import cn.hutool.core.bean.BeanUtil;
16
+import cn.hutool.core.collection.CollStreamUtil;
17
+import cn.hutool.core.util.ObjectUtil;
18
+import cn.hutool.core.util.StrUtil;
19
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
20
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
21
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
22
+import org.springframework.stereotype.Service;
23
+import org.springframework.transaction.annotation.Transactional;
24
+import com.unis.common.enums.CommonSortOrderEnum;
25
+import com.unis.common.exception.CommonException;
26
+import com.unis.common.page.CommonPageRequest;
27
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.entity.FsSaleRevenueDiffPrice;
28
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.mapper.FsSaleRevenueDiffPriceMapper;
29
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.param.FsSaleRevenueDiffPriceAddParam;
30
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.param.FsSaleRevenueDiffPriceEditParam;
31
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.param.FsSaleRevenueDiffPriceIdParam;
32
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.param.FsSaleRevenueDiffPricePageParam;
33
+import com.unis.financialSupervision.modular.fsSaleRevenueDiffPrice.service.FsSaleRevenueDiffPriceService;
34
+
35
+import java.util.List;
36
+
37
+/**
38
+ * 销售收入上缴-差额上缴Service接口实现类
39
+ *
40
+ * @author QSHan
41
+ * @date  2024/07/29 15:31
42
+ **/
43
+@Service
44
+public class FsSaleRevenueDiffPriceServiceImpl extends ServiceImpl<FsSaleRevenueDiffPriceMapper, FsSaleRevenueDiffPrice> implements FsSaleRevenueDiffPriceService {
45
+
46
+    @Override
47
+    public Page<FsSaleRevenueDiffPrice> page(FsSaleRevenueDiffPricePageParam fsSaleRevenueDiffPricePageParam) {
48
+        QueryWrapper<FsSaleRevenueDiffPrice> queryWrapper = new QueryWrapper<>();
49
+        if(ObjectUtil.isAllNotEmpty(fsSaleRevenueDiffPricePageParam.getSortField(), fsSaleRevenueDiffPricePageParam.getSortOrder())) {
50
+            CommonSortOrderEnum.validate(fsSaleRevenueDiffPricePageParam.getSortOrder());
51
+            queryWrapper.orderBy(true, fsSaleRevenueDiffPricePageParam.getSortOrder().equals(CommonSortOrderEnum.ASC.getValue()),
52
+                    StrUtil.toUnderlineCase(fsSaleRevenueDiffPricePageParam.getSortField()));
53
+        } else {
54
+            queryWrapper.lambda().orderByAsc(FsSaleRevenueDiffPrice::getId);
55
+        }
56
+        return this.page(CommonPageRequest.defaultPage(), queryWrapper);
57
+    }
58
+
59
+    @Transactional(rollbackFor = Exception.class)
60
+    @Override
61
+    public void add(FsSaleRevenueDiffPriceAddParam fsSaleRevenueDiffPriceAddParam) {
62
+        FsSaleRevenueDiffPrice fsSaleRevenueDiffPrice = BeanUtil.toBean(fsSaleRevenueDiffPriceAddParam, FsSaleRevenueDiffPrice.class);
63
+        this.save(fsSaleRevenueDiffPrice);
64
+    }
65
+
66
+    @Transactional(rollbackFor = Exception.class)
67
+    @Override
68
+    public void edit(FsSaleRevenueDiffPriceEditParam fsSaleRevenueDiffPriceEditParam) {
69
+        FsSaleRevenueDiffPrice fsSaleRevenueDiffPrice = this.queryEntity(fsSaleRevenueDiffPriceEditParam.getId());
70
+        BeanUtil.copyProperties(fsSaleRevenueDiffPriceEditParam, fsSaleRevenueDiffPrice);
71
+        this.updateById(fsSaleRevenueDiffPrice);
72
+    }
73
+
74
+    @Transactional(rollbackFor = Exception.class)
75
+    @Override
76
+    public void delete(List<FsSaleRevenueDiffPriceIdParam> fsSaleRevenueDiffPriceIdParamList) {
77
+        // 执行删除
78
+        this.removeByIds(CollStreamUtil.toList(fsSaleRevenueDiffPriceIdParamList, FsSaleRevenueDiffPriceIdParam::getId));
79
+    }
80
+
81
+    @Override
82
+    public FsSaleRevenueDiffPrice detail(FsSaleRevenueDiffPriceIdParam fsSaleRevenueDiffPriceIdParam) {
83
+        return this.queryEntity(fsSaleRevenueDiffPriceIdParam.getId());
84
+    }
85
+
86
+    @Override
87
+    public FsSaleRevenueDiffPrice queryEntity(Integer id) {
88
+        FsSaleRevenueDiffPrice fsSaleRevenueDiffPrice = this.getById(id);
89
+        if(ObjectUtil.isEmpty(fsSaleRevenueDiffPrice)) {
90
+            throw new CommonException("销售收入上缴-差额上缴不存在,id值为:{}", id);
91
+        }
92
+        return fsSaleRevenueDiffPrice;
93
+    }
94
+}

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

@@ -0,0 +1,145 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ *//*
13
+
14
+package com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.controller;
15
+
16
+import cn.dev33.satoken.annotation.SaCheckPermission;
17
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
18
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
19
+import com.github.xiaoymin.knife4j.annotations.ApiSupport;
20
+import io.swagger.annotations.Api;
21
+import io.swagger.annotations.ApiOperation;
22
+import org.springframework.validation.annotation.Validated;
23
+import org.springframework.web.bind.annotation.GetMapping;
24
+import org.springframework.web.bind.annotation.PostMapping;
25
+import org.springframework.web.bind.annotation.RequestBody;
26
+import org.springframework.web.bind.annotation.RestController;
27
+import com.unis.common.annotation.CommonLog;
28
+import com.unis.common.pojo.CommonResult;
29
+import com.unis.common.pojo.CommonValidList;
30
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.entity.FsSaleRevenueInspectionLoss;
31
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.param.FsSaleRevenueInspectionLossAddParam;
32
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.param.FsSaleRevenueInspectionLossEditParam;
33
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.param.FsSaleRevenueInspectionLossIdParam;
34
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.param.FsSaleRevenueInspectionLossPageParam;
35
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.service.FsSaleRevenueInspectionLossService;
36
+
37
+import javax.annotation.Resource;
38
+import javax.validation.Valid;
39
+import javax.validation.constraints.NotEmpty;
40
+
41
+*/
42
+/**
43
+ * 销售收入上缴-质检损益信息控制器
44
+ *
45
+ * @author QSHan
46
+ * @date  2024/07/29 15:15
47
+ *//*
48
+
49
+@Api(tags = "销售收入上缴-质检损益信息控制器")
50
+@ApiSupport(author = "UNIS_TEAM", order = 1)
51
+@RestController
52
+@Validated
53
+public class FsSaleRevenueInspectionLossController {
54
+
55
+    @Resource
56
+    private FsSaleRevenueInspectionLossService fsSaleRevenueInspectionLossService;
57
+
58
+    */
59
+/**
60
+     * 获取销售收入上缴-质检损益信息分页
61
+     *
62
+     * @author QSHan
63
+     * @date  2024/07/29 15:15
64
+     *//*
65
+
66
+    @ApiOperationSupport(order = 1)
67
+    @ApiOperation("获取销售收入上缴-质检损益信息分页")
68
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueInspectionLoss/page")
69
+    @GetMapping("/financialSupervision/fsSaleRevenueInspectionLoss/page")
70
+    public CommonResult<Page<FsSaleRevenueInspectionLoss>> page(FsSaleRevenueInspectionLossPageParam fsSaleRevenueInspectionLossPageParam) {
71
+        return CommonResult.data(fsSaleRevenueInspectionLossService.page(fsSaleRevenueInspectionLossPageParam));
72
+    }
73
+
74
+    */
75
+/**
76
+     * 添加销售收入上缴-质检损益信息
77
+     *
78
+     * @author QSHan
79
+     * @date  2024/07/29 15:15
80
+     *//*
81
+
82
+    @ApiOperationSupport(order = 2)
83
+    @ApiOperation("添加销售收入上缴-质检损益信息")
84
+    @CommonLog("添加销售收入上缴-质检损益信息")
85
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueInspectionLoss/add")
86
+    @PostMapping("/financialSupervision/fsSaleRevenueInspectionLoss/add")
87
+    public CommonResult<String> add(@RequestBody @Valid FsSaleRevenueInspectionLossAddParam fsSaleRevenueInspectionLossAddParam) {
88
+        fsSaleRevenueInspectionLossService.add(fsSaleRevenueInspectionLossAddParam);
89
+        return CommonResult.ok();
90
+    }
91
+
92
+    */
93
+/**
94
+     * 编辑销售收入上缴-质检损益信息
95
+     *
96
+     * @author QSHan
97
+     * @date  2024/07/29 15:15
98
+     *//*
99
+
100
+    @ApiOperationSupport(order = 3)
101
+    @ApiOperation("编辑销售收入上缴-质检损益信息")
102
+    @CommonLog("编辑销售收入上缴-质检损益信息")
103
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueInspectionLoss/edit")
104
+    @PostMapping("/financialSupervision/fsSaleRevenueInspectionLoss/edit")
105
+    public CommonResult<String> edit(@RequestBody @Valid FsSaleRevenueInspectionLossEditParam fsSaleRevenueInspectionLossEditParam) {
106
+        fsSaleRevenueInspectionLossService.edit(fsSaleRevenueInspectionLossEditParam);
107
+        return CommonResult.ok();
108
+    }
109
+
110
+    */
111
+/**
112
+     * 删除销售收入上缴-质检损益信息
113
+     *
114
+     * @author QSHan
115
+     * @date  2024/07/29 15:15
116
+     *//*
117
+
118
+    @ApiOperationSupport(order = 4)
119
+    @ApiOperation("删除销售收入上缴-质检损益信息")
120
+    @CommonLog("删除销售收入上缴-质检损益信息")
121
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueInspectionLoss/delete")
122
+    @PostMapping("/financialSupervision/fsSaleRevenueInspectionLoss/delete")
123
+    public CommonResult<String> delete(@RequestBody @Valid @NotEmpty(message = "集合不能为空")
124
+                                                   CommonValidList<FsSaleRevenueInspectionLossIdParam> fsSaleRevenueInspectionLossIdParamList) {
125
+        fsSaleRevenueInspectionLossService.delete(fsSaleRevenueInspectionLossIdParamList);
126
+        return CommonResult.ok();
127
+    }
128
+
129
+    */
130
+/**
131
+     * 获取销售收入上缴-质检损益信息详情
132
+     *
133
+     * @author QSHan
134
+     * @date  2024/07/29 15:15
135
+     *//*
136
+
137
+    @ApiOperationSupport(order = 5)
138
+    @ApiOperation("获取销售收入上缴-质检损益信息详情")
139
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueInspectionLoss/detail")
140
+    @GetMapping("/financialSupervision/fsSaleRevenueInspectionLoss/detail")
141
+    public CommonResult<FsSaleRevenueInspectionLoss> detail(@Valid FsSaleRevenueInspectionLossIdParam fsSaleRevenueInspectionLossIdParam) {
142
+        return CommonResult.data(fsSaleRevenueInspectionLossService.detail(fsSaleRevenueInspectionLossIdParam));
143
+    }
144
+}
145
+*/

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

@@ -0,0 +1,130 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.entity;
14
+
15
+import com.baomidou.mybatisplus.annotation.*;
16
+import io.swagger.annotations.ApiModelProperty;
17
+import lombok.Getter;
18
+import lombok.Setter;
19
+import java.math.BigDecimal;
20
+import java.util.Date;
21
+
22
+/**
23
+ * 销售收入上缴-质检损益信息实体
24
+ *
25
+ * @author QSHan
26
+ * @date  2024/07/29 15:15
27
+ **/
28
+@Getter
29
+@Setter
30
+@TableName("business_fs_sale_revenue_inspection_loss")
31
+public class FsSaleRevenueInspectionLoss {
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;
130
+}

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

@@ -0,0 +1,34 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.enums;
14
+
15
+import lombok.Getter;
16
+
17
+/**
18
+ * 销售收入上缴-质检损益信息枚举
19
+ *
20
+ * @author QSHan
21
+ * @date  2024/07/29 15:15
22
+ **/
23
+@Getter
24
+public enum FsSaleRevenueInspectionLossEnum {
25
+
26
+    /** 测试 */
27
+    TEST("TEST");
28
+
29
+    private final String value;
30
+
31
+    FsSaleRevenueInspectionLossEnum(String value) {
32
+        this.value = value;
33
+    }
34
+}

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

@@ -0,0 +1,25 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.mapper;
14
+
15
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
16
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.entity.FsSaleRevenueInspectionLoss;
17
+
18
+/**
19
+ * 销售收入上缴-质检损益信息Mapper接口
20
+ *
21
+ * @author QSHan
22
+ * @date  2024/07/29 15:15
23
+ **/
24
+public interface FsSaleRevenueInspectionLossMapper extends BaseMapper<FsSaleRevenueInspectionLoss> {
25
+}

+ 5 - 0
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueInspectionLoss/mapper/mapping/FsSaleRevenueInspectionLossMapper.xml

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+<mapper namespace="com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.mapper.FsSaleRevenueInspectionLossMapper">
4
+
5
+</mapper>

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

@@ -0,0 +1,66 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+
19
+import javax.validation.constraints.NotBlank;
20
+import javax.validation.constraints.NotNull;
21
+import java.math.BigDecimal;
22
+import java.util.Date;
23
+
24
+/**
25
+ * 销售收入上缴-质检损益信息添加参数
26
+ *
27
+ * @author QSHan
28
+ * @date  2024/07/29 15:15
29
+ **/
30
+@Getter
31
+@Setter
32
+public class FsSaleRevenueInspectionLossAddParam {
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
+
66
+}

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

@@ -0,0 +1,71 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+
19
+import javax.validation.constraints.NotBlank;
20
+import javax.validation.constraints.NotNull;
21
+import java.math.BigDecimal;
22
+import java.util.Date;
23
+
24
+/**
25
+ * 销售收入上缴-质检损益信息编辑参数
26
+ *
27
+ * @author QSHan
28
+ * @date  2024/07/29 15:15
29
+ **/
30
+@Getter
31
+@Setter
32
+public class FsSaleRevenueInspectionLossEditParam {
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
+
71
+}

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

@@ -0,0 +1,35 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+
19
+import javax.validation.constraints.NotBlank;
20
+
21
+/**
22
+ * 销售收入上缴-质检损益信息Id参数
23
+ *
24
+ * @author QSHan
25
+ * @date  2024/07/29 15:15
26
+ **/
27
+@Getter
28
+@Setter
29
+public class FsSaleRevenueInspectionLossIdParam {
30
+
31
+    /** 主键ID */
32
+    @ApiModelProperty(value = "主键ID", required = true)
33
+    @NotBlank(message = "id不能为空")
34
+    private Integer id;
35
+}

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

@@ -0,0 +1,51 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+import java.math.BigDecimal;
19
+import java.util.Date;
20
+
21
+/**
22
+ * 销售收入上缴-质检损益信息查询参数
23
+ *
24
+ * @author QSHan
25
+ * @date  2024/07/29 15:15
26
+ **/
27
+@Getter
28
+@Setter
29
+public class FsSaleRevenueInspectionLossPageParam {
30
+
31
+    /** 当前页 */
32
+    @ApiModelProperty(value = "当前页码")
33
+    private Integer current;
34
+
35
+    /** 每页条数 */
36
+    @ApiModelProperty(value = "每页条数")
37
+    private Integer size;
38
+
39
+    /** 排序字段 */
40
+    @ApiModelProperty(value = "排序字段,字段驼峰名称,如:userName")
41
+    private String sortField;
42
+
43
+    /** 排序方式 */
44
+    @ApiModelProperty(value = "排序方式,升序:ASCEND;降序:DESCEND")
45
+    private String sortOrder;
46
+
47
+    /** 关键词 */
48
+    @ApiModelProperty(value = "关键词")
49
+    private String searchKey;
50
+
51
+}

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

@@ -0,0 +1,80 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.service;
14
+
15
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
16
+import com.baomidou.mybatisplus.extension.service.IService;
17
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.entity.FsSaleRevenueInspectionLoss;
18
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.param.FsSaleRevenueInspectionLossAddParam;
19
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.param.FsSaleRevenueInspectionLossEditParam;
20
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.param.FsSaleRevenueInspectionLossIdParam;
21
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.param.FsSaleRevenueInspectionLossPageParam;
22
+
23
+import java.util.List;
24
+
25
+/**
26
+ * 销售收入上缴-质检损益信息Service接口
27
+ *
28
+ * @author QSHan
29
+ * @date  2024/07/29 15:15
30
+ **/
31
+public interface FsSaleRevenueInspectionLossService extends IService<FsSaleRevenueInspectionLoss> {
32
+
33
+    /**
34
+     * 获取销售收入上缴-质检损益信息分页
35
+     *
36
+     * @author QSHan
37
+     * @date  2024/07/29 15:15
38
+     */
39
+    Page<FsSaleRevenueInspectionLoss> page(FsSaleRevenueInspectionLossPageParam fsSaleRevenueInspectionLossPageParam);
40
+
41
+    /**
42
+     * 添加销售收入上缴-质检损益信息
43
+     *
44
+     * @author QSHan
45
+     * @date  2024/07/29 15:15
46
+     */
47
+    void add(FsSaleRevenueInspectionLossAddParam fsSaleRevenueInspectionLossAddParam);
48
+
49
+    /**
50
+     * 编辑销售收入上缴-质检损益信息
51
+     *
52
+     * @author QSHan
53
+     * @date  2024/07/29 15:15
54
+     */
55
+    void edit(FsSaleRevenueInspectionLossEditParam fsSaleRevenueInspectionLossEditParam);
56
+
57
+    /**
58
+     * 删除销售收入上缴-质检损益信息
59
+     *
60
+     * @author QSHan
61
+     * @date  2024/07/29 15:15
62
+     */
63
+    void delete(List<FsSaleRevenueInspectionLossIdParam> fsSaleRevenueInspectionLossIdParamList);
64
+
65
+    /**
66
+     * 获取销售收入上缴-质检损益信息详情
67
+     *
68
+     * @author QSHan
69
+     * @date  2024/07/29 15:15
70
+     */
71
+    FsSaleRevenueInspectionLoss detail(FsSaleRevenueInspectionLossIdParam fsSaleRevenueInspectionLossIdParam);
72
+
73
+    /**
74
+     * 获取销售收入上缴-质检损益信息详情
75
+     *
76
+     * @author QSHan
77
+     * @date  2024/07/29 15:15
78
+     **/
79
+    FsSaleRevenueInspectionLoss queryEntity(Integer id);
80
+}

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

@@ -0,0 +1,94 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.service.impl;
14
+
15
+import cn.hutool.core.bean.BeanUtil;
16
+import cn.hutool.core.collection.CollStreamUtil;
17
+import cn.hutool.core.util.ObjectUtil;
18
+import cn.hutool.core.util.StrUtil;
19
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
20
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
21
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
22
+import org.springframework.stereotype.Service;
23
+import org.springframework.transaction.annotation.Transactional;
24
+import com.unis.common.enums.CommonSortOrderEnum;
25
+import com.unis.common.exception.CommonException;
26
+import com.unis.common.page.CommonPageRequest;
27
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.entity.FsSaleRevenueInspectionLoss;
28
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.mapper.FsSaleRevenueInspectionLossMapper;
29
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.param.FsSaleRevenueInspectionLossAddParam;
30
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.param.FsSaleRevenueInspectionLossEditParam;
31
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.param.FsSaleRevenueInspectionLossIdParam;
32
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.param.FsSaleRevenueInspectionLossPageParam;
33
+import com.unis.financialSupervision.modular.fsSaleRevenueInspectionLoss.service.FsSaleRevenueInspectionLossService;
34
+
35
+import java.util.List;
36
+
37
+/**
38
+ * 销售收入上缴-质检损益信息Service接口实现类
39
+ *
40
+ * @author QSHan
41
+ * @date  2024/07/29 15:15
42
+ **/
43
+@Service
44
+public class FsSaleRevenueInspectionLossServiceImpl extends ServiceImpl<FsSaleRevenueInspectionLossMapper, FsSaleRevenueInspectionLoss> implements FsSaleRevenueInspectionLossService {
45
+
46
+    @Override
47
+    public Page<FsSaleRevenueInspectionLoss> page(FsSaleRevenueInspectionLossPageParam fsSaleRevenueInspectionLossPageParam) {
48
+        QueryWrapper<FsSaleRevenueInspectionLoss> queryWrapper = new QueryWrapper<>();
49
+        if(ObjectUtil.isAllNotEmpty(fsSaleRevenueInspectionLossPageParam.getSortField(), fsSaleRevenueInspectionLossPageParam.getSortOrder())) {
50
+            CommonSortOrderEnum.validate(fsSaleRevenueInspectionLossPageParam.getSortOrder());
51
+            queryWrapper.orderBy(true, fsSaleRevenueInspectionLossPageParam.getSortOrder().equals(CommonSortOrderEnum.ASC.getValue()),
52
+                    StrUtil.toUnderlineCase(fsSaleRevenueInspectionLossPageParam.getSortField()));
53
+        } else {
54
+            queryWrapper.lambda().orderByAsc(FsSaleRevenueInspectionLoss::getId);
55
+        }
56
+        return this.page(CommonPageRequest.defaultPage(), queryWrapper);
57
+    }
58
+
59
+    @Transactional(rollbackFor = Exception.class)
60
+    @Override
61
+    public void add(FsSaleRevenueInspectionLossAddParam fsSaleRevenueInspectionLossAddParam) {
62
+        FsSaleRevenueInspectionLoss fsSaleRevenueInspectionLoss = BeanUtil.toBean(fsSaleRevenueInspectionLossAddParam, FsSaleRevenueInspectionLoss.class);
63
+        this.save(fsSaleRevenueInspectionLoss);
64
+    }
65
+
66
+    @Transactional(rollbackFor = Exception.class)
67
+    @Override
68
+    public void edit(FsSaleRevenueInspectionLossEditParam fsSaleRevenueInspectionLossEditParam) {
69
+        FsSaleRevenueInspectionLoss fsSaleRevenueInspectionLoss = this.queryEntity(fsSaleRevenueInspectionLossEditParam.getId());
70
+        BeanUtil.copyProperties(fsSaleRevenueInspectionLossEditParam, fsSaleRevenueInspectionLoss);
71
+        this.updateById(fsSaleRevenueInspectionLoss);
72
+    }
73
+
74
+    @Transactional(rollbackFor = Exception.class)
75
+    @Override
76
+    public void delete(List<FsSaleRevenueInspectionLossIdParam> fsSaleRevenueInspectionLossIdParamList) {
77
+        // 执行删除
78
+        this.removeByIds(CollStreamUtil.toList(fsSaleRevenueInspectionLossIdParamList, FsSaleRevenueInspectionLossIdParam::getId));
79
+    }
80
+
81
+    @Override
82
+    public FsSaleRevenueInspectionLoss detail(FsSaleRevenueInspectionLossIdParam fsSaleRevenueInspectionLossIdParam) {
83
+        return this.queryEntity(fsSaleRevenueInspectionLossIdParam.getId());
84
+    }
85
+
86
+    @Override
87
+    public FsSaleRevenueInspectionLoss queryEntity(Integer id) {
88
+        FsSaleRevenueInspectionLoss fsSaleRevenueInspectionLoss = this.getById(id);
89
+        if(ObjectUtil.isEmpty(fsSaleRevenueInspectionLoss)) {
90
+            throw new CommonException("销售收入上缴-质检损益信息不存在,id值为:{}", id);
91
+        }
92
+        return fsSaleRevenueInspectionLoss;
93
+    }
94
+}

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

@@ -0,0 +1,145 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ *//*
13
+
14
+package com.unis.financialSupervision.modular.fsSaleRevenueSettle.controller;
15
+
16
+import cn.dev33.satoken.annotation.SaCheckPermission;
17
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
18
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
19
+import com.github.xiaoymin.knife4j.annotations.ApiSupport;
20
+import io.swagger.annotations.Api;
21
+import io.swagger.annotations.ApiOperation;
22
+import org.springframework.validation.annotation.Validated;
23
+import org.springframework.web.bind.annotation.GetMapping;
24
+import org.springframework.web.bind.annotation.PostMapping;
25
+import org.springframework.web.bind.annotation.RequestBody;
26
+import org.springframework.web.bind.annotation.RestController;
27
+import com.unis.common.annotation.CommonLog;
28
+import com.unis.common.pojo.CommonResult;
29
+import com.unis.common.pojo.CommonValidList;
30
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.entity.FsSaleRevenueSettle;
31
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.param.FsSaleRevenueSettleAddParam;
32
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.param.FsSaleRevenueSettleEditParam;
33
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.param.FsSaleRevenueSettleIdParam;
34
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.param.FsSaleRevenueSettlePageParam;
35
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.service.FsSaleRevenueSettleService;
36
+
37
+import javax.annotation.Resource;
38
+import javax.validation.Valid;
39
+import javax.validation.constraints.NotEmpty;
40
+
41
+*/
42
+/**
43
+ * 销售收入上缴-结算信息控制器
44
+ *
45
+ * @author QSHan
46
+ * @date  2024/07/29 15:29
47
+ *//*
48
+
49
+@Api(tags = "销售收入上缴-结算信息控制器")
50
+@ApiSupport(author = "UNIS_TEAM", order = 1)
51
+@RestController
52
+@Validated
53
+public class FsSaleRevenueSettleController {
54
+
55
+    @Resource
56
+    private FsSaleRevenueSettleService fsSaleRevenueSettleService;
57
+
58
+    */
59
+/**
60
+     * 获取销售收入上缴-结算信息分页
61
+     *
62
+     * @author QSHan
63
+     * @date  2024/07/29 15:29
64
+     *//*
65
+
66
+    @ApiOperationSupport(order = 1)
67
+    @ApiOperation("获取销售收入上缴-结算信息分页")
68
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueSettle/page")
69
+    @GetMapping("/financialSupervision/fsSaleRevenueSettle/page")
70
+    public CommonResult<Page<FsSaleRevenueSettle>> page(FsSaleRevenueSettlePageParam fsSaleRevenueSettlePageParam) {
71
+        return CommonResult.data(fsSaleRevenueSettleService.page(fsSaleRevenueSettlePageParam));
72
+    }
73
+
74
+    */
75
+/**
76
+     * 添加销售收入上缴-结算信息
77
+     *
78
+     * @author QSHan
79
+     * @date  2024/07/29 15:29
80
+     *//*
81
+
82
+    @ApiOperationSupport(order = 2)
83
+    @ApiOperation("添加销售收入上缴-结算信息")
84
+    @CommonLog("添加销售收入上缴-结算信息")
85
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueSettle/add")
86
+    @PostMapping("/financialSupervision/fsSaleRevenueSettle/add")
87
+    public CommonResult<String> add(@RequestBody @Valid FsSaleRevenueSettleAddParam fsSaleRevenueSettleAddParam) {
88
+        fsSaleRevenueSettleService.add(fsSaleRevenueSettleAddParam);
89
+        return CommonResult.ok();
90
+    }
91
+
92
+    */
93
+/**
94
+     * 编辑销售收入上缴-结算信息
95
+     *
96
+     * @author QSHan
97
+     * @date  2024/07/29 15:29
98
+     *//*
99
+
100
+    @ApiOperationSupport(order = 3)
101
+    @ApiOperation("编辑销售收入上缴-结算信息")
102
+    @CommonLog("编辑销售收入上缴-结算信息")
103
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueSettle/edit")
104
+    @PostMapping("/financialSupervision/fsSaleRevenueSettle/edit")
105
+    public CommonResult<String> edit(@RequestBody @Valid FsSaleRevenueSettleEditParam fsSaleRevenueSettleEditParam) {
106
+        fsSaleRevenueSettleService.edit(fsSaleRevenueSettleEditParam);
107
+        return CommonResult.ok();
108
+    }
109
+
110
+    */
111
+/**
112
+     * 删除销售收入上缴-结算信息
113
+     *
114
+     * @author QSHan
115
+     * @date  2024/07/29 15:29
116
+     *//*
117
+
118
+    @ApiOperationSupport(order = 4)
119
+    @ApiOperation("删除销售收入上缴-结算信息")
120
+    @CommonLog("删除销售收入上缴-结算信息")
121
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueSettle/delete")
122
+    @PostMapping("/financialSupervision/fsSaleRevenueSettle/delete")
123
+    public CommonResult<String> delete(@RequestBody @Valid @NotEmpty(message = "集合不能为空")
124
+                                                   CommonValidList<FsSaleRevenueSettleIdParam> fsSaleRevenueSettleIdParamList) {
125
+        fsSaleRevenueSettleService.delete(fsSaleRevenueSettleIdParamList);
126
+        return CommonResult.ok();
127
+    }
128
+
129
+    */
130
+/**
131
+     * 获取销售收入上缴-结算信息详情
132
+     *
133
+     * @author QSHan
134
+     * @date  2024/07/29 15:29
135
+     *//*
136
+
137
+    @ApiOperationSupport(order = 5)
138
+    @ApiOperation("获取销售收入上缴-结算信息详情")
139
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueSettle/detail")
140
+    @GetMapping("/financialSupervision/fsSaleRevenueSettle/detail")
141
+    public CommonResult<FsSaleRevenueSettle> detail(@Valid FsSaleRevenueSettleIdParam fsSaleRevenueSettleIdParam) {
142
+        return CommonResult.data(fsSaleRevenueSettleService.detail(fsSaleRevenueSettleIdParam));
143
+    }
144
+}
145
+*/

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

@@ -0,0 +1,118 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueSettle.entity;
14
+
15
+import com.baomidou.mybatisplus.annotation.*;
16
+import io.swagger.annotations.ApiModelProperty;
17
+import lombok.Getter;
18
+import lombok.Setter;
19
+import java.math.BigDecimal;
20
+import java.util.Date;
21
+
22
+/**
23
+ * 销售收入上缴-结算信息实体
24
+ *
25
+ * @author QSHan
26
+ * @date  2024/07/29 15:29
27
+ **/
28
+@Getter
29
+@Setter
30
+@TableName("business_fs_sale_revenue_settle")
31
+public class FsSaleRevenueSettle {
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;
118
+}

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

@@ -0,0 +1,34 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueSettle.enums;
14
+
15
+import lombok.Getter;
16
+
17
+/**
18
+ * 销售收入上缴-结算信息枚举
19
+ *
20
+ * @author QSHan
21
+ * @date  2024/07/29 15:29
22
+ **/
23
+@Getter
24
+public enum FsSaleRevenueSettleEnum {
25
+
26
+    /** 测试 */
27
+    TEST("TEST");
28
+
29
+    private final String value;
30
+
31
+    FsSaleRevenueSettleEnum(String value) {
32
+        this.value = value;
33
+    }
34
+}

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

@@ -0,0 +1,25 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueSettle.mapper;
14
+
15
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
16
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.entity.FsSaleRevenueSettle;
17
+
18
+/**
19
+ * 销售收入上缴-结算信息Mapper接口
20
+ *
21
+ * @author QSHan
22
+ * @date  2024/07/29 15:29
23
+ **/
24
+public interface FsSaleRevenueSettleMapper extends BaseMapper<FsSaleRevenueSettle> {
25
+}

+ 5 - 0
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueSettle/mapper/mapping/FsSaleRevenueSettleMapper.xml

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+<mapper namespace="com.unis.financialSupervision.modular.fsSaleRevenueSettle.mapper.FsSaleRevenueSettleMapper">
4
+
5
+</mapper>

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

@@ -0,0 +1,106 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueSettle.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+
19
+import javax.validation.constraints.NotBlank;
20
+import javax.validation.constraints.NotNull;
21
+import java.math.BigDecimal;
22
+import java.util.Date;
23
+
24
+/**
25
+ * 销售收入上缴-结算信息添加参数
26
+ *
27
+ * @author QSHan
28
+ * @date  2024/07/29 15:29
29
+ **/
30
+@Getter
31
+@Setter
32
+public class FsSaleRevenueSettleAddParam {
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
+
106
+}

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

@@ -0,0 +1,111 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueSettle.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+
19
+import javax.validation.constraints.NotBlank;
20
+import javax.validation.constraints.NotNull;
21
+import java.math.BigDecimal;
22
+import java.util.Date;
23
+
24
+/**
25
+ * 销售收入上缴-结算信息编辑参数
26
+ *
27
+ * @author QSHan
28
+ * @date  2024/07/29 15:29
29
+ **/
30
+@Getter
31
+@Setter
32
+public class FsSaleRevenueSettleEditParam {
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
+
111
+}

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

@@ -0,0 +1,35 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueSettle.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+
19
+import javax.validation.constraints.NotBlank;
20
+
21
+/**
22
+ * 销售收入上缴-结算信息Id参数
23
+ *
24
+ * @author QSHan
25
+ * @date  2024/07/29 15:29
26
+ **/
27
+@Getter
28
+@Setter
29
+public class FsSaleRevenueSettleIdParam {
30
+
31
+    /** 主键ID */
32
+    @ApiModelProperty(value = "主键ID", required = true)
33
+    @NotBlank(message = "id不能为空")
34
+    private Integer id;
35
+}

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

@@ -0,0 +1,51 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueSettle.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+import java.math.BigDecimal;
19
+import java.util.Date;
20
+
21
+/**
22
+ * 销售收入上缴-结算信息查询参数
23
+ *
24
+ * @author QSHan
25
+ * @date  2024/07/29 15:29
26
+ **/
27
+@Getter
28
+@Setter
29
+public class FsSaleRevenueSettlePageParam {
30
+
31
+    /** 当前页 */
32
+    @ApiModelProperty(value = "当前页码")
33
+    private Integer current;
34
+
35
+    /** 每页条数 */
36
+    @ApiModelProperty(value = "每页条数")
37
+    private Integer size;
38
+
39
+    /** 排序字段 */
40
+    @ApiModelProperty(value = "排序字段,字段驼峰名称,如:userName")
41
+    private String sortField;
42
+
43
+    /** 排序方式 */
44
+    @ApiModelProperty(value = "排序方式,升序:ASCEND;降序:DESCEND")
45
+    private String sortOrder;
46
+
47
+    /** 关键词 */
48
+    @ApiModelProperty(value = "关键词")
49
+    private String searchKey;
50
+
51
+}

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

@@ -0,0 +1,80 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueSettle.service;
14
+
15
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
16
+import com.baomidou.mybatisplus.extension.service.IService;
17
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.entity.FsSaleRevenueSettle;
18
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.param.FsSaleRevenueSettleAddParam;
19
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.param.FsSaleRevenueSettleEditParam;
20
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.param.FsSaleRevenueSettleIdParam;
21
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.param.FsSaleRevenueSettlePageParam;
22
+
23
+import java.util.List;
24
+
25
+/**
26
+ * 销售收入上缴-结算信息Service接口
27
+ *
28
+ * @author QSHan
29
+ * @date  2024/07/29 15:29
30
+ **/
31
+public interface FsSaleRevenueSettleService extends IService<FsSaleRevenueSettle> {
32
+
33
+    /**
34
+     * 获取销售收入上缴-结算信息分页
35
+     *
36
+     * @author QSHan
37
+     * @date  2024/07/29 15:29
38
+     */
39
+    Page<FsSaleRevenueSettle> page(FsSaleRevenueSettlePageParam fsSaleRevenueSettlePageParam);
40
+
41
+    /**
42
+     * 添加销售收入上缴-结算信息
43
+     *
44
+     * @author QSHan
45
+     * @date  2024/07/29 15:29
46
+     */
47
+    void add(FsSaleRevenueSettleAddParam fsSaleRevenueSettleAddParam);
48
+
49
+    /**
50
+     * 编辑销售收入上缴-结算信息
51
+     *
52
+     * @author QSHan
53
+     * @date  2024/07/29 15:29
54
+     */
55
+    void edit(FsSaleRevenueSettleEditParam fsSaleRevenueSettleEditParam);
56
+
57
+    /**
58
+     * 删除销售收入上缴-结算信息
59
+     *
60
+     * @author QSHan
61
+     * @date  2024/07/29 15:29
62
+     */
63
+    void delete(List<FsSaleRevenueSettleIdParam> fsSaleRevenueSettleIdParamList);
64
+
65
+    /**
66
+     * 获取销售收入上缴-结算信息详情
67
+     *
68
+     * @author QSHan
69
+     * @date  2024/07/29 15:29
70
+     */
71
+    FsSaleRevenueSettle detail(FsSaleRevenueSettleIdParam fsSaleRevenueSettleIdParam);
72
+
73
+    /**
74
+     * 获取销售收入上缴-结算信息详情
75
+     *
76
+     * @author QSHan
77
+     * @date  2024/07/29 15:29
78
+     **/
79
+    FsSaleRevenueSettle queryEntity(Integer id);
80
+}

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

@@ -0,0 +1,94 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueSettle.service.impl;
14
+
15
+import cn.hutool.core.bean.BeanUtil;
16
+import cn.hutool.core.collection.CollStreamUtil;
17
+import cn.hutool.core.util.ObjectUtil;
18
+import cn.hutool.core.util.StrUtil;
19
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
20
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
21
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
22
+import org.springframework.stereotype.Service;
23
+import org.springframework.transaction.annotation.Transactional;
24
+import com.unis.common.enums.CommonSortOrderEnum;
25
+import com.unis.common.exception.CommonException;
26
+import com.unis.common.page.CommonPageRequest;
27
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.entity.FsSaleRevenueSettle;
28
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.mapper.FsSaleRevenueSettleMapper;
29
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.param.FsSaleRevenueSettleAddParam;
30
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.param.FsSaleRevenueSettleEditParam;
31
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.param.FsSaleRevenueSettleIdParam;
32
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.param.FsSaleRevenueSettlePageParam;
33
+import com.unis.financialSupervision.modular.fsSaleRevenueSettle.service.FsSaleRevenueSettleService;
34
+
35
+import java.util.List;
36
+
37
+/**
38
+ * 销售收入上缴-结算信息Service接口实现类
39
+ *
40
+ * @author QSHan
41
+ * @date  2024/07/29 15:29
42
+ **/
43
+@Service
44
+public class FsSaleRevenueSettleServiceImpl extends ServiceImpl<FsSaleRevenueSettleMapper, FsSaleRevenueSettle> implements FsSaleRevenueSettleService {
45
+
46
+    @Override
47
+    public Page<FsSaleRevenueSettle> page(FsSaleRevenueSettlePageParam fsSaleRevenueSettlePageParam) {
48
+        QueryWrapper<FsSaleRevenueSettle> queryWrapper = new QueryWrapper<>();
49
+        if(ObjectUtil.isAllNotEmpty(fsSaleRevenueSettlePageParam.getSortField(), fsSaleRevenueSettlePageParam.getSortOrder())) {
50
+            CommonSortOrderEnum.validate(fsSaleRevenueSettlePageParam.getSortOrder());
51
+            queryWrapper.orderBy(true, fsSaleRevenueSettlePageParam.getSortOrder().equals(CommonSortOrderEnum.ASC.getValue()),
52
+                    StrUtil.toUnderlineCase(fsSaleRevenueSettlePageParam.getSortField()));
53
+        } else {
54
+            queryWrapper.lambda().orderByAsc(FsSaleRevenueSettle::getId);
55
+        }
56
+        return this.page(CommonPageRequest.defaultPage(), queryWrapper);
57
+    }
58
+
59
+    @Transactional(rollbackFor = Exception.class)
60
+    @Override
61
+    public void add(FsSaleRevenueSettleAddParam fsSaleRevenueSettleAddParam) {
62
+        FsSaleRevenueSettle fsSaleRevenueSettle = BeanUtil.toBean(fsSaleRevenueSettleAddParam, FsSaleRevenueSettle.class);
63
+        this.save(fsSaleRevenueSettle);
64
+    }
65
+
66
+    @Transactional(rollbackFor = Exception.class)
67
+    @Override
68
+    public void edit(FsSaleRevenueSettleEditParam fsSaleRevenueSettleEditParam) {
69
+        FsSaleRevenueSettle fsSaleRevenueSettle = this.queryEntity(fsSaleRevenueSettleEditParam.getId());
70
+        BeanUtil.copyProperties(fsSaleRevenueSettleEditParam, fsSaleRevenueSettle);
71
+        this.updateById(fsSaleRevenueSettle);
72
+    }
73
+
74
+    @Transactional(rollbackFor = Exception.class)
75
+    @Override
76
+    public void delete(List<FsSaleRevenueSettleIdParam> fsSaleRevenueSettleIdParamList) {
77
+        // 执行删除
78
+        this.removeByIds(CollStreamUtil.toList(fsSaleRevenueSettleIdParamList, FsSaleRevenueSettleIdParam::getId));
79
+    }
80
+
81
+    @Override
82
+    public FsSaleRevenueSettle detail(FsSaleRevenueSettleIdParam fsSaleRevenueSettleIdParam) {
83
+        return this.queryEntity(fsSaleRevenueSettleIdParam.getId());
84
+    }
85
+
86
+    @Override
87
+    public FsSaleRevenueSettle queryEntity(Integer id) {
88
+        FsSaleRevenueSettle fsSaleRevenueSettle = this.getById(id);
89
+        if(ObjectUtil.isEmpty(fsSaleRevenueSettle)) {
90
+            throw new CommonException("销售收入上缴-结算信息不存在,id值为:{}", id);
91
+        }
92
+        return fsSaleRevenueSettle;
93
+    }
94
+}

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

@@ -0,0 +1,145 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ *//*
13
+
14
+package com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.controller;
15
+
16
+import cn.dev33.satoken.annotation.SaCheckPermission;
17
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
18
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
19
+import com.github.xiaoymin.knife4j.annotations.ApiSupport;
20
+import io.swagger.annotations.Api;
21
+import io.swagger.annotations.ApiOperation;
22
+import org.springframework.validation.annotation.Validated;
23
+import org.springframework.web.bind.annotation.GetMapping;
24
+import org.springframework.web.bind.annotation.PostMapping;
25
+import org.springframework.web.bind.annotation.RequestBody;
26
+import org.springframework.web.bind.annotation.RestController;
27
+import com.unis.common.annotation.CommonLog;
28
+import com.unis.common.pojo.CommonResult;
29
+import com.unis.common.pojo.CommonValidList;
30
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.entity.FsSaleRevenueThreeConsistence;
31
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.param.FsSaleRevenueThreeConsistenceAddParam;
32
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.param.FsSaleRevenueThreeConsistenceEditParam;
33
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.param.FsSaleRevenueThreeConsistenceIdParam;
34
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.param.FsSaleRevenueThreeConsistencePageParam;
35
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.service.FsSaleRevenueThreeConsistenceService;
36
+
37
+import javax.annotation.Resource;
38
+import javax.validation.Valid;
39
+import javax.validation.constraints.NotEmpty;
40
+
41
+*/
42
+/**
43
+ * 销售收入上缴-实际出库情况控制器
44
+ *
45
+ * @author QSHan
46
+ * @date  2024/07/29 15:20
47
+ *//*
48
+
49
+@Api(tags = "销售收入上缴-实际出库情况控制器")
50
+@ApiSupport(author = "UNIS_TEAM", order = 1)
51
+@RestController
52
+@Validated
53
+public class FsSaleRevenueThreeConsistenceController {
54
+
55
+    @Resource
56
+    private FsSaleRevenueThreeConsistenceService fsSaleRevenueThreeConsistenceService;
57
+
58
+    */
59
+/**
60
+     * 获取销售收入上缴-实际出库情况分页
61
+     *
62
+     * @author QSHan
63
+     * @date  2024/07/29 15:20
64
+     *//*
65
+
66
+    @ApiOperationSupport(order = 1)
67
+    @ApiOperation("获取销售收入上缴-实际出库情况分页")
68
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueThreeConsistence/page")
69
+    @GetMapping("/financialSupervision/fsSaleRevenueThreeConsistence/page")
70
+    public CommonResult<Page<FsSaleRevenueThreeConsistence>> page(FsSaleRevenueThreeConsistencePageParam fsSaleRevenueThreeConsistencePageParam) {
71
+        return CommonResult.data(fsSaleRevenueThreeConsistenceService.page(fsSaleRevenueThreeConsistencePageParam));
72
+    }
73
+
74
+    */
75
+/**
76
+     * 添加销售收入上缴-实际出库情况
77
+     *
78
+     * @author QSHan
79
+     * @date  2024/07/29 15:20
80
+     *//*
81
+
82
+    @ApiOperationSupport(order = 2)
83
+    @ApiOperation("添加销售收入上缴-实际出库情况")
84
+    @CommonLog("添加销售收入上缴-实际出库情况")
85
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueThreeConsistence/add")
86
+    @PostMapping("/financialSupervision/fsSaleRevenueThreeConsistence/add")
87
+    public CommonResult<String> add(@RequestBody @Valid FsSaleRevenueThreeConsistenceAddParam fsSaleRevenueThreeConsistenceAddParam) {
88
+        fsSaleRevenueThreeConsistenceService.add(fsSaleRevenueThreeConsistenceAddParam);
89
+        return CommonResult.ok();
90
+    }
91
+
92
+    */
93
+/**
94
+     * 编辑销售收入上缴-实际出库情况
95
+     *
96
+     * @author QSHan
97
+     * @date  2024/07/29 15:20
98
+     *//*
99
+
100
+    @ApiOperationSupport(order = 3)
101
+    @ApiOperation("编辑销售收入上缴-实际出库情况")
102
+    @CommonLog("编辑销售收入上缴-实际出库情况")
103
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueThreeConsistence/edit")
104
+    @PostMapping("/financialSupervision/fsSaleRevenueThreeConsistence/edit")
105
+    public CommonResult<String> edit(@RequestBody @Valid FsSaleRevenueThreeConsistenceEditParam fsSaleRevenueThreeConsistenceEditParam) {
106
+        fsSaleRevenueThreeConsistenceService.edit(fsSaleRevenueThreeConsistenceEditParam);
107
+        return CommonResult.ok();
108
+    }
109
+
110
+    */
111
+/**
112
+     * 删除销售收入上缴-实际出库情况
113
+     *
114
+     * @author QSHan
115
+     * @date  2024/07/29 15:20
116
+     *//*
117
+
118
+    @ApiOperationSupport(order = 4)
119
+    @ApiOperation("删除销售收入上缴-实际出库情况")
120
+    @CommonLog("删除销售收入上缴-实际出库情况")
121
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueThreeConsistence/delete")
122
+    @PostMapping("/financialSupervision/fsSaleRevenueThreeConsistence/delete")
123
+    public CommonResult<String> delete(@RequestBody @Valid @NotEmpty(message = "集合不能为空")
124
+                                                   CommonValidList<FsSaleRevenueThreeConsistenceIdParam> fsSaleRevenueThreeConsistenceIdParamList) {
125
+        fsSaleRevenueThreeConsistenceService.delete(fsSaleRevenueThreeConsistenceIdParamList);
126
+        return CommonResult.ok();
127
+    }
128
+
129
+    */
130
+/**
131
+     * 获取销售收入上缴-实际出库情况详情
132
+     *
133
+     * @author QSHan
134
+     * @date  2024/07/29 15:20
135
+     *//*
136
+
137
+    @ApiOperationSupport(order = 5)
138
+    @ApiOperation("获取销售收入上缴-实际出库情况详情")
139
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueThreeConsistence/detail")
140
+    @GetMapping("/financialSupervision/fsSaleRevenueThreeConsistence/detail")
141
+    public CommonResult<FsSaleRevenueThreeConsistence> detail(@Valid FsSaleRevenueThreeConsistenceIdParam fsSaleRevenueThreeConsistenceIdParam) {
142
+        return CommonResult.data(fsSaleRevenueThreeConsistenceService.detail(fsSaleRevenueThreeConsistenceIdParam));
143
+    }
144
+}
145
+*/

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

@@ -0,0 +1,137 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.entity;
14
+
15
+import com.baomidou.mybatisplus.annotation.*;
16
+import io.swagger.annotations.ApiModelProperty;
17
+import lombok.Getter;
18
+import lombok.Setter;
19
+import java.math.BigDecimal;
20
+import java.util.Date;
21
+
22
+/**
23
+ * 销售收入上缴-实际出库情况实体
24
+ *
25
+ * @author QSHan
26
+ * @date  2024/07/29 15:20
27
+ **/
28
+@Getter
29
+@Setter
30
+@TableName("business_fs_sale_revenue_three_consistence")
31
+public class FsSaleRevenueThreeConsistence {
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;
137
+}

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

@@ -0,0 +1,34 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.enums;
14
+
15
+import lombok.Getter;
16
+
17
+/**
18
+ * 销售收入上缴-实际出库情况枚举
19
+ *
20
+ * @author QSHan
21
+ * @date  2024/07/29 15:20
22
+ **/
23
+@Getter
24
+public enum FsSaleRevenueThreeConsistenceEnum {
25
+
26
+    /** 测试 */
27
+    TEST("TEST");
28
+
29
+    private final String value;
30
+
31
+    FsSaleRevenueThreeConsistenceEnum(String value) {
32
+        this.value = value;
33
+    }
34
+}

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

@@ -0,0 +1,25 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.mapper;
14
+
15
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
16
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.entity.FsSaleRevenueThreeConsistence;
17
+
18
+/**
19
+ * 销售收入上缴-实际出库情况Mapper接口
20
+ *
21
+ * @author QSHan
22
+ * @date  2024/07/29 15:20
23
+ **/
24
+public interface FsSaleRevenueThreeConsistenceMapper extends BaseMapper<FsSaleRevenueThreeConsistence> {
25
+}

+ 5 - 0
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistence/mapper/mapping/FsSaleRevenueThreeConsistenceMapper.xml

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+<mapper namespace="com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.mapper.FsSaleRevenueThreeConsistenceMapper">
4
+
5
+</mapper>

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

@@ -0,0 +1,126 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+
19
+import javax.validation.constraints.NotBlank;
20
+import javax.validation.constraints.NotNull;
21
+import java.math.BigDecimal;
22
+import java.util.Date;
23
+
24
+/**
25
+ * 销售收入上缴-实际出库情况添加参数
26
+ *
27
+ * @author QSHan
28
+ * @date  2024/07/29 15:20
29
+ **/
30
+@Getter
31
+@Setter
32
+public class FsSaleRevenueThreeConsistenceAddParam {
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
+
126
+}

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

@@ -0,0 +1,131 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+
19
+import javax.validation.constraints.NotBlank;
20
+import javax.validation.constraints.NotNull;
21
+import java.math.BigDecimal;
22
+import java.util.Date;
23
+
24
+/**
25
+ * 销售收入上缴-实际出库情况编辑参数
26
+ *
27
+ * @author QSHan
28
+ * @date  2024/07/29 15:20
29
+ **/
30
+@Getter
31
+@Setter
32
+public class FsSaleRevenueThreeConsistenceEditParam {
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
+
131
+}

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

@@ -0,0 +1,35 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+
19
+import javax.validation.constraints.NotBlank;
20
+
21
+/**
22
+ * 销售收入上缴-实际出库情况Id参数
23
+ *
24
+ * @author QSHan
25
+ * @date  2024/07/29 15:20
26
+ **/
27
+@Getter
28
+@Setter
29
+public class FsSaleRevenueThreeConsistenceIdParam {
30
+
31
+    /** 主键ID */
32
+    @ApiModelProperty(value = "主键ID", required = true)
33
+    @NotBlank(message = "id不能为空")
34
+    private Integer id;
35
+}

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

@@ -0,0 +1,51 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+import java.math.BigDecimal;
19
+import java.util.Date;
20
+
21
+/**
22
+ * 销售收入上缴-实际出库情况查询参数
23
+ *
24
+ * @author QSHan
25
+ * @date  2024/07/29 15:20
26
+ **/
27
+@Getter
28
+@Setter
29
+public class FsSaleRevenueThreeConsistencePageParam {
30
+
31
+    /** 当前页 */
32
+    @ApiModelProperty(value = "当前页码")
33
+    private Integer current;
34
+
35
+    /** 每页条数 */
36
+    @ApiModelProperty(value = "每页条数")
37
+    private Integer size;
38
+
39
+    /** 排序字段 */
40
+    @ApiModelProperty(value = "排序字段,字段驼峰名称,如:userName")
41
+    private String sortField;
42
+
43
+    /** 排序方式 */
44
+    @ApiModelProperty(value = "排序方式,升序:ASCEND;降序:DESCEND")
45
+    private String sortOrder;
46
+
47
+    /** 关键词 */
48
+    @ApiModelProperty(value = "关键词")
49
+    private String searchKey;
50
+
51
+}

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

@@ -0,0 +1,80 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.service;
14
+
15
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
16
+import com.baomidou.mybatisplus.extension.service.IService;
17
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.entity.FsSaleRevenueThreeConsistence;
18
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.param.FsSaleRevenueThreeConsistenceAddParam;
19
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.param.FsSaleRevenueThreeConsistenceEditParam;
20
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.param.FsSaleRevenueThreeConsistenceIdParam;
21
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.param.FsSaleRevenueThreeConsistencePageParam;
22
+
23
+import java.util.List;
24
+
25
+/**
26
+ * 销售收入上缴-实际出库情况Service接口
27
+ *
28
+ * @author QSHan
29
+ * @date  2024/07/29 15:20
30
+ **/
31
+public interface FsSaleRevenueThreeConsistenceService extends IService<FsSaleRevenueThreeConsistence> {
32
+
33
+    /**
34
+     * 获取销售收入上缴-实际出库情况分页
35
+     *
36
+     * @author QSHan
37
+     * @date  2024/07/29 15:20
38
+     */
39
+    Page<FsSaleRevenueThreeConsistence> page(FsSaleRevenueThreeConsistencePageParam fsSaleRevenueThreeConsistencePageParam);
40
+
41
+    /**
42
+     * 添加销售收入上缴-实际出库情况
43
+     *
44
+     * @author QSHan
45
+     * @date  2024/07/29 15:20
46
+     */
47
+    void add(FsSaleRevenueThreeConsistenceAddParam fsSaleRevenueThreeConsistenceAddParam);
48
+
49
+    /**
50
+     * 编辑销售收入上缴-实际出库情况
51
+     *
52
+     * @author QSHan
53
+     * @date  2024/07/29 15:20
54
+     */
55
+    void edit(FsSaleRevenueThreeConsistenceEditParam fsSaleRevenueThreeConsistenceEditParam);
56
+
57
+    /**
58
+     * 删除销售收入上缴-实际出库情况
59
+     *
60
+     * @author QSHan
61
+     * @date  2024/07/29 15:20
62
+     */
63
+    void delete(List<FsSaleRevenueThreeConsistenceIdParam> fsSaleRevenueThreeConsistenceIdParamList);
64
+
65
+    /**
66
+     * 获取销售收入上缴-实际出库情况详情
67
+     *
68
+     * @author QSHan
69
+     * @date  2024/07/29 15:20
70
+     */
71
+    FsSaleRevenueThreeConsistence detail(FsSaleRevenueThreeConsistenceIdParam fsSaleRevenueThreeConsistenceIdParam);
72
+
73
+    /**
74
+     * 获取销售收入上缴-实际出库情况详情
75
+     *
76
+     * @author QSHan
77
+     * @date  2024/07/29 15:20
78
+     **/
79
+    FsSaleRevenueThreeConsistence queryEntity(Integer id);
80
+}

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

@@ -0,0 +1,94 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.service.impl;
14
+
15
+import cn.hutool.core.bean.BeanUtil;
16
+import cn.hutool.core.collection.CollStreamUtil;
17
+import cn.hutool.core.util.ObjectUtil;
18
+import cn.hutool.core.util.StrUtil;
19
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
20
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
21
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
22
+import org.springframework.stereotype.Service;
23
+import org.springframework.transaction.annotation.Transactional;
24
+import com.unis.common.enums.CommonSortOrderEnum;
25
+import com.unis.common.exception.CommonException;
26
+import com.unis.common.page.CommonPageRequest;
27
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.entity.FsSaleRevenueThreeConsistence;
28
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.mapper.FsSaleRevenueThreeConsistenceMapper;
29
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.param.FsSaleRevenueThreeConsistenceAddParam;
30
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.param.FsSaleRevenueThreeConsistenceEditParam;
31
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.param.FsSaleRevenueThreeConsistenceIdParam;
32
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.param.FsSaleRevenueThreeConsistencePageParam;
33
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistence.service.FsSaleRevenueThreeConsistenceService;
34
+
35
+import java.util.List;
36
+
37
+/**
38
+ * 销售收入上缴-实际出库情况Service接口实现类
39
+ *
40
+ * @author QSHan
41
+ * @date  2024/07/29 15:20
42
+ **/
43
+@Service
44
+public class FsSaleRevenueThreeConsistenceServiceImpl extends ServiceImpl<FsSaleRevenueThreeConsistenceMapper, FsSaleRevenueThreeConsistence> implements FsSaleRevenueThreeConsistenceService {
45
+
46
+    @Override
47
+    public Page<FsSaleRevenueThreeConsistence> page(FsSaleRevenueThreeConsistencePageParam fsSaleRevenueThreeConsistencePageParam) {
48
+        QueryWrapper<FsSaleRevenueThreeConsistence> queryWrapper = new QueryWrapper<>();
49
+        if(ObjectUtil.isAllNotEmpty(fsSaleRevenueThreeConsistencePageParam.getSortField(), fsSaleRevenueThreeConsistencePageParam.getSortOrder())) {
50
+            CommonSortOrderEnum.validate(fsSaleRevenueThreeConsistencePageParam.getSortOrder());
51
+            queryWrapper.orderBy(true, fsSaleRevenueThreeConsistencePageParam.getSortOrder().equals(CommonSortOrderEnum.ASC.getValue()),
52
+                    StrUtil.toUnderlineCase(fsSaleRevenueThreeConsistencePageParam.getSortField()));
53
+        } else {
54
+            queryWrapper.lambda().orderByAsc(FsSaleRevenueThreeConsistence::getId);
55
+        }
56
+        return this.page(CommonPageRequest.defaultPage(), queryWrapper);
57
+    }
58
+
59
+    @Transactional(rollbackFor = Exception.class)
60
+    @Override
61
+    public void add(FsSaleRevenueThreeConsistenceAddParam fsSaleRevenueThreeConsistenceAddParam) {
62
+        FsSaleRevenueThreeConsistence fsSaleRevenueThreeConsistence = BeanUtil.toBean(fsSaleRevenueThreeConsistenceAddParam, FsSaleRevenueThreeConsistence.class);
63
+        this.save(fsSaleRevenueThreeConsistence);
64
+    }
65
+
66
+    @Transactional(rollbackFor = Exception.class)
67
+    @Override
68
+    public void edit(FsSaleRevenueThreeConsistenceEditParam fsSaleRevenueThreeConsistenceEditParam) {
69
+        FsSaleRevenueThreeConsistence fsSaleRevenueThreeConsistence = this.queryEntity(fsSaleRevenueThreeConsistenceEditParam.getId());
70
+        BeanUtil.copyProperties(fsSaleRevenueThreeConsistenceEditParam, fsSaleRevenueThreeConsistence);
71
+        this.updateById(fsSaleRevenueThreeConsistence);
72
+    }
73
+
74
+    @Transactional(rollbackFor = Exception.class)
75
+    @Override
76
+    public void delete(List<FsSaleRevenueThreeConsistenceIdParam> fsSaleRevenueThreeConsistenceIdParamList) {
77
+        // 执行删除
78
+        this.removeByIds(CollStreamUtil.toList(fsSaleRevenueThreeConsistenceIdParamList, FsSaleRevenueThreeConsistenceIdParam::getId));
79
+    }
80
+
81
+    @Override
82
+    public FsSaleRevenueThreeConsistence detail(FsSaleRevenueThreeConsistenceIdParam fsSaleRevenueThreeConsistenceIdParam) {
83
+        return this.queryEntity(fsSaleRevenueThreeConsistenceIdParam.getId());
84
+    }
85
+
86
+    @Override
87
+    public FsSaleRevenueThreeConsistence queryEntity(Integer id) {
88
+        FsSaleRevenueThreeConsistence fsSaleRevenueThreeConsistence = this.getById(id);
89
+        if(ObjectUtil.isEmpty(fsSaleRevenueThreeConsistence)) {
90
+            throw new CommonException("销售收入上缴-实际出库情况不存在,id值为:{}", id);
91
+        }
92
+        return fsSaleRevenueThreeConsistence;
93
+    }
94
+}

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

@@ -0,0 +1,145 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ *//*
13
+
14
+package com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.controller;
15
+
16
+import cn.dev33.satoken.annotation.SaCheckPermission;
17
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
18
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
19
+import com.github.xiaoymin.knife4j.annotations.ApiSupport;
20
+import io.swagger.annotations.Api;
21
+import io.swagger.annotations.ApiOperation;
22
+import org.springframework.validation.annotation.Validated;
23
+import org.springframework.web.bind.annotation.GetMapping;
24
+import org.springframework.web.bind.annotation.PostMapping;
25
+import org.springframework.web.bind.annotation.RequestBody;
26
+import org.springframework.web.bind.annotation.RestController;
27
+import com.unis.common.annotation.CommonLog;
28
+import com.unis.common.pojo.CommonResult;
29
+import com.unis.common.pojo.CommonValidList;
30
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.entity.FsSaleRevenueThreeConsistenceAccount;
31
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.param.FsSaleRevenueThreeConsistenceAccountAddParam;
32
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.param.FsSaleRevenueThreeConsistenceAccountEditParam;
33
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.param.FsSaleRevenueThreeConsistenceAccountIdParam;
34
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.param.FsSaleRevenueThreeConsistenceAccountPageParam;
35
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.service.FsSaleRevenueThreeConsistenceAccountService;
36
+
37
+import javax.annotation.Resource;
38
+import javax.validation.Valid;
39
+import javax.validation.constraints.NotEmpty;
40
+
41
+*/
42
+/**
43
+ * 销售收入上缴-会计账控制器
44
+ *
45
+ * @author QSHan
46
+ * @date  2024/07/29 15:23
47
+ *//*
48
+
49
+@Api(tags = "销售收入上缴-会计账控制器")
50
+@ApiSupport(author = "UNIS_TEAM", order = 1)
51
+@RestController
52
+@Validated
53
+public class FsSaleRevenueThreeConsistenceAccountController {
54
+
55
+    @Resource
56
+    private FsSaleRevenueThreeConsistenceAccountService fsSaleRevenueThreeConsistenceAccountService;
57
+
58
+    */
59
+/**
60
+     * 获取销售收入上缴-会计账分页
61
+     *
62
+     * @author QSHan
63
+     * @date  2024/07/29 15:23
64
+     *//*
65
+
66
+    @ApiOperationSupport(order = 1)
67
+    @ApiOperation("获取销售收入上缴-会计账分页")
68
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueThreeConsistenceAccount/page")
69
+    @GetMapping("/financialSupervision/fsSaleRevenueThreeConsistenceAccount/page")
70
+    public CommonResult<Page<FsSaleRevenueThreeConsistenceAccount>> page(FsSaleRevenueThreeConsistenceAccountPageParam fsSaleRevenueThreeConsistenceAccountPageParam) {
71
+        return CommonResult.data(fsSaleRevenueThreeConsistenceAccountService.page(fsSaleRevenueThreeConsistenceAccountPageParam));
72
+    }
73
+
74
+    */
75
+/**
76
+     * 添加销售收入上缴-会计账
77
+     *
78
+     * @author QSHan
79
+     * @date  2024/07/29 15:23
80
+     *//*
81
+
82
+    @ApiOperationSupport(order = 2)
83
+    @ApiOperation("添加销售收入上缴-会计账")
84
+    @CommonLog("添加销售收入上缴-会计账")
85
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueThreeConsistenceAccount/add")
86
+    @PostMapping("/financialSupervision/fsSaleRevenueThreeConsistenceAccount/add")
87
+    public CommonResult<String> add(@RequestBody @Valid FsSaleRevenueThreeConsistenceAccountAddParam fsSaleRevenueThreeConsistenceAccountAddParam) {
88
+        fsSaleRevenueThreeConsistenceAccountService.add(fsSaleRevenueThreeConsistenceAccountAddParam);
89
+        return CommonResult.ok();
90
+    }
91
+
92
+    */
93
+/**
94
+     * 编辑销售收入上缴-会计账
95
+     *
96
+     * @author QSHan
97
+     * @date  2024/07/29 15:23
98
+     *//*
99
+
100
+    @ApiOperationSupport(order = 3)
101
+    @ApiOperation("编辑销售收入上缴-会计账")
102
+    @CommonLog("编辑销售收入上缴-会计账")
103
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueThreeConsistenceAccount/edit")
104
+    @PostMapping("/financialSupervision/fsSaleRevenueThreeConsistenceAccount/edit")
105
+    public CommonResult<String> edit(@RequestBody @Valid FsSaleRevenueThreeConsistenceAccountEditParam fsSaleRevenueThreeConsistenceAccountEditParam) {
106
+        fsSaleRevenueThreeConsistenceAccountService.edit(fsSaleRevenueThreeConsistenceAccountEditParam);
107
+        return CommonResult.ok();
108
+    }
109
+
110
+    */
111
+/**
112
+     * 删除销售收入上缴-会计账
113
+     *
114
+     * @author QSHan
115
+     * @date  2024/07/29 15:23
116
+     *//*
117
+
118
+    @ApiOperationSupport(order = 4)
119
+    @ApiOperation("删除销售收入上缴-会计账")
120
+    @CommonLog("删除销售收入上缴-会计账")
121
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueThreeConsistenceAccount/delete")
122
+    @PostMapping("/financialSupervision/fsSaleRevenueThreeConsistenceAccount/delete")
123
+    public CommonResult<String> delete(@RequestBody @Valid @NotEmpty(message = "集合不能为空")
124
+                                                   CommonValidList<FsSaleRevenueThreeConsistenceAccountIdParam> fsSaleRevenueThreeConsistenceAccountIdParamList) {
125
+        fsSaleRevenueThreeConsistenceAccountService.delete(fsSaleRevenueThreeConsistenceAccountIdParamList);
126
+        return CommonResult.ok();
127
+    }
128
+
129
+    */
130
+/**
131
+     * 获取销售收入上缴-会计账详情
132
+     *
133
+     * @author QSHan
134
+     * @date  2024/07/29 15:23
135
+     *//*
136
+
137
+    @ApiOperationSupport(order = 5)
138
+    @ApiOperation("获取销售收入上缴-会计账详情")
139
+    @SaCheckPermission("/financialSupervision/fsSaleRevenueThreeConsistenceAccount/detail")
140
+    @GetMapping("/financialSupervision/fsSaleRevenueThreeConsistenceAccount/detail")
141
+    public CommonResult<FsSaleRevenueThreeConsistenceAccount> detail(@Valid FsSaleRevenueThreeConsistenceAccountIdParam fsSaleRevenueThreeConsistenceAccountIdParam) {
142
+        return CommonResult.data(fsSaleRevenueThreeConsistenceAccountService.detail(fsSaleRevenueThreeConsistenceAccountIdParam));
143
+    }
144
+}
145
+*/

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

@@ -0,0 +1,89 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.entity;
14
+
15
+import com.baomidou.mybatisplus.annotation.*;
16
+import io.swagger.annotations.ApiModelProperty;
17
+import lombok.Getter;
18
+import lombok.Setter;
19
+import java.math.BigDecimal;
20
+import java.util.Date;
21
+
22
+/**
23
+ * 销售收入上缴-会计账实体
24
+ *
25
+ * @author QSHan
26
+ * @date  2024/07/29 15:23
27
+ **/
28
+@Getter
29
+@Setter
30
+@TableName("business_fs_sale_revenue_three_consistence_account")
31
+public class FsSaleRevenueThreeConsistenceAccount {
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
+    /** 会计账-数量,单位:公斤 */
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;
89
+}

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

@@ -0,0 +1,34 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.enums;
14
+
15
+import lombok.Getter;
16
+
17
+/**
18
+ * 销售收入上缴-会计账枚举
19
+ *
20
+ * @author QSHan
21
+ * @date  2024/07/29 15:23
22
+ **/
23
+@Getter
24
+public enum FsSaleRevenueThreeConsistenceAccountEnum {
25
+
26
+    /** 测试 */
27
+    TEST("TEST");
28
+
29
+    private final String value;
30
+
31
+    FsSaleRevenueThreeConsistenceAccountEnum(String value) {
32
+        this.value = value;
33
+    }
34
+}

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

@@ -0,0 +1,25 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.mapper;
14
+
15
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
16
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.entity.FsSaleRevenueThreeConsistenceAccount;
17
+
18
+/**
19
+ * 销售收入上缴-会计账Mapper接口
20
+ *
21
+ * @author QSHan
22
+ * @date  2024/07/29 15:23
23
+ **/
24
+public interface FsSaleRevenueThreeConsistenceAccountMapper extends BaseMapper<FsSaleRevenueThreeConsistenceAccount> {
25
+}

+ 5 - 0
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/fsSaleRevenueThreeConsistenceAccount/mapper/mapping/FsSaleRevenueThreeConsistenceAccountMapper.xml

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3
+<mapper namespace="com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.mapper.FsSaleRevenueThreeConsistenceAccountMapper">
4
+
5
+</mapper>

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

@@ -0,0 +1,78 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+
19
+import javax.validation.constraints.NotBlank;
20
+import javax.validation.constraints.NotNull;
21
+import java.math.BigDecimal;
22
+import java.util.Date;
23
+
24
+/**
25
+ * 销售收入上缴-会计账添加参数
26
+ *
27
+ * @author QSHan
28
+ * @date  2024/07/29 15:23
29
+ **/
30
+@Getter
31
+@Setter
32
+public class FsSaleRevenueThreeConsistenceAccountAddParam {
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
+
78
+}

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

@@ -0,0 +1,83 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+
19
+import javax.validation.constraints.NotBlank;
20
+import javax.validation.constraints.NotNull;
21
+import java.math.BigDecimal;
22
+import java.util.Date;
23
+
24
+/**
25
+ * 销售收入上缴-会计账编辑参数
26
+ *
27
+ * @author QSHan
28
+ * @date  2024/07/29 15:23
29
+ **/
30
+@Getter
31
+@Setter
32
+public class FsSaleRevenueThreeConsistenceAccountEditParam {
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
+
83
+}

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

@@ -0,0 +1,35 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+
19
+import javax.validation.constraints.NotBlank;
20
+
21
+/**
22
+ * 销售收入上缴-会计账Id参数
23
+ *
24
+ * @author QSHan
25
+ * @date  2024/07/29 15:23
26
+ **/
27
+@Getter
28
+@Setter
29
+public class FsSaleRevenueThreeConsistenceAccountIdParam {
30
+
31
+    /** 主键ID */
32
+    @ApiModelProperty(value = "主键ID", required = true)
33
+    @NotBlank(message = "id不能为空")
34
+    private Integer id;
35
+}

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

@@ -0,0 +1,51 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.param;
14
+
15
+import io.swagger.annotations.ApiModelProperty;
16
+import lombok.Getter;
17
+import lombok.Setter;
18
+import java.math.BigDecimal;
19
+import java.util.Date;
20
+
21
+/**
22
+ * 销售收入上缴-会计账查询参数
23
+ *
24
+ * @author QSHan
25
+ * @date  2024/07/29 15:23
26
+ **/
27
+@Getter
28
+@Setter
29
+public class FsSaleRevenueThreeConsistenceAccountPageParam {
30
+
31
+    /** 当前页 */
32
+    @ApiModelProperty(value = "当前页码")
33
+    private Integer current;
34
+
35
+    /** 每页条数 */
36
+    @ApiModelProperty(value = "每页条数")
37
+    private Integer size;
38
+
39
+    /** 排序字段 */
40
+    @ApiModelProperty(value = "排序字段,字段驼峰名称,如:userName")
41
+    private String sortField;
42
+
43
+    /** 排序方式 */
44
+    @ApiModelProperty(value = "排序方式,升序:ASCEND;降序:DESCEND")
45
+    private String sortOrder;
46
+
47
+    /** 关键词 */
48
+    @ApiModelProperty(value = "关键词")
49
+    private String searchKey;
50
+
51
+}

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

@@ -0,0 +1,80 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.service;
14
+
15
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
16
+import com.baomidou.mybatisplus.extension.service.IService;
17
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.entity.FsSaleRevenueThreeConsistenceAccount;
18
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.param.FsSaleRevenueThreeConsistenceAccountAddParam;
19
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.param.FsSaleRevenueThreeConsistenceAccountEditParam;
20
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.param.FsSaleRevenueThreeConsistenceAccountIdParam;
21
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.param.FsSaleRevenueThreeConsistenceAccountPageParam;
22
+
23
+import java.util.List;
24
+
25
+/**
26
+ * 销售收入上缴-会计账Service接口
27
+ *
28
+ * @author QSHan
29
+ * @date  2024/07/29 15:23
30
+ **/
31
+public interface FsSaleRevenueThreeConsistenceAccountService extends IService<FsSaleRevenueThreeConsistenceAccount> {
32
+
33
+    /**
34
+     * 获取销售收入上缴-会计账分页
35
+     *
36
+     * @author QSHan
37
+     * @date  2024/07/29 15:23
38
+     */
39
+    Page<FsSaleRevenueThreeConsistenceAccount> page(FsSaleRevenueThreeConsistenceAccountPageParam fsSaleRevenueThreeConsistenceAccountPageParam);
40
+
41
+    /**
42
+     * 添加销售收入上缴-会计账
43
+     *
44
+     * @author QSHan
45
+     * @date  2024/07/29 15:23
46
+     */
47
+    void add(FsSaleRevenueThreeConsistenceAccountAddParam fsSaleRevenueThreeConsistenceAccountAddParam);
48
+
49
+    /**
50
+     * 编辑销售收入上缴-会计账
51
+     *
52
+     * @author QSHan
53
+     * @date  2024/07/29 15:23
54
+     */
55
+    void edit(FsSaleRevenueThreeConsistenceAccountEditParam fsSaleRevenueThreeConsistenceAccountEditParam);
56
+
57
+    /**
58
+     * 删除销售收入上缴-会计账
59
+     *
60
+     * @author QSHan
61
+     * @date  2024/07/29 15:23
62
+     */
63
+    void delete(List<FsSaleRevenueThreeConsistenceAccountIdParam> fsSaleRevenueThreeConsistenceAccountIdParamList);
64
+
65
+    /**
66
+     * 获取销售收入上缴-会计账详情
67
+     *
68
+     * @author QSHan
69
+     * @date  2024/07/29 15:23
70
+     */
71
+    FsSaleRevenueThreeConsistenceAccount detail(FsSaleRevenueThreeConsistenceAccountIdParam fsSaleRevenueThreeConsistenceAccountIdParam);
72
+
73
+    /**
74
+     * 获取销售收入上缴-会计账详情
75
+     *
76
+     * @author QSHan
77
+     * @date  2024/07/29 15:23
78
+     **/
79
+    FsSaleRevenueThreeConsistenceAccount queryEntity(Integer id);
80
+}

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

@@ -0,0 +1,94 @@
1
+/*
2
+ * Copyright [2022] [https://www.xiaonuo.vip]
3
+ *
4
+ * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
5
+ *
6
+ * 1.请不要删除和修改根目录下的LICENSE文件。
7
+ * 2.请不要删除和修改Snowy源码头部的版权声明。
8
+ * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
9
+ * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
10
+ * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
11
+ * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
12
+ */
13
+package com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.service.impl;
14
+
15
+import cn.hutool.core.bean.BeanUtil;
16
+import cn.hutool.core.collection.CollStreamUtil;
17
+import cn.hutool.core.util.ObjectUtil;
18
+import cn.hutool.core.util.StrUtil;
19
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
20
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
21
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
22
+import org.springframework.stereotype.Service;
23
+import org.springframework.transaction.annotation.Transactional;
24
+import com.unis.common.enums.CommonSortOrderEnum;
25
+import com.unis.common.exception.CommonException;
26
+import com.unis.common.page.CommonPageRequest;
27
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.entity.FsSaleRevenueThreeConsistenceAccount;
28
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.mapper.FsSaleRevenueThreeConsistenceAccountMapper;
29
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.param.FsSaleRevenueThreeConsistenceAccountAddParam;
30
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.param.FsSaleRevenueThreeConsistenceAccountEditParam;
31
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.param.FsSaleRevenueThreeConsistenceAccountIdParam;
32
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.param.FsSaleRevenueThreeConsistenceAccountPageParam;
33
+import com.unis.financialSupervision.modular.fsSaleRevenueThreeConsistenceAccount.service.FsSaleRevenueThreeConsistenceAccountService;
34
+
35
+import java.util.List;
36
+
37
+/**
38
+ * 销售收入上缴-会计账Service接口实现类
39
+ *
40
+ * @author QSHan
41
+ * @date  2024/07/29 15:23
42
+ **/
43
+@Service
44
+public class FsSaleRevenueThreeConsistenceAccountServiceImpl extends ServiceImpl<FsSaleRevenueThreeConsistenceAccountMapper, FsSaleRevenueThreeConsistenceAccount> implements FsSaleRevenueThreeConsistenceAccountService {
45
+
46
+    @Override
47
+    public Page<FsSaleRevenueThreeConsistenceAccount> page(FsSaleRevenueThreeConsistenceAccountPageParam fsSaleRevenueThreeConsistenceAccountPageParam) {
48
+        QueryWrapper<FsSaleRevenueThreeConsistenceAccount> queryWrapper = new QueryWrapper<>();
49
+        if(ObjectUtil.isAllNotEmpty(fsSaleRevenueThreeConsistenceAccountPageParam.getSortField(), fsSaleRevenueThreeConsistenceAccountPageParam.getSortOrder())) {
50
+            CommonSortOrderEnum.validate(fsSaleRevenueThreeConsistenceAccountPageParam.getSortOrder());
51
+            queryWrapper.orderBy(true, fsSaleRevenueThreeConsistenceAccountPageParam.getSortOrder().equals(CommonSortOrderEnum.ASC.getValue()),
52
+                    StrUtil.toUnderlineCase(fsSaleRevenueThreeConsistenceAccountPageParam.getSortField()));
53
+        } else {
54
+            queryWrapper.lambda().orderByAsc(FsSaleRevenueThreeConsistenceAccount::getId);
55
+        }
56
+        return this.page(CommonPageRequest.defaultPage(), queryWrapper);
57
+    }
58
+
59
+    @Transactional(rollbackFor = Exception.class)
60
+    @Override
61
+    public void add(FsSaleRevenueThreeConsistenceAccountAddParam fsSaleRevenueThreeConsistenceAccountAddParam) {
62
+        FsSaleRevenueThreeConsistenceAccount fsSaleRevenueThreeConsistenceAccount = BeanUtil.toBean(fsSaleRevenueThreeConsistenceAccountAddParam, FsSaleRevenueThreeConsistenceAccount.class);
63
+        this.save(fsSaleRevenueThreeConsistenceAccount);
64
+    }
65
+
66
+    @Transactional(rollbackFor = Exception.class)
67
+    @Override
68
+    public void edit(FsSaleRevenueThreeConsistenceAccountEditParam fsSaleRevenueThreeConsistenceAccountEditParam) {
69
+        FsSaleRevenueThreeConsistenceAccount fsSaleRevenueThreeConsistenceAccount = this.queryEntity(fsSaleRevenueThreeConsistenceAccountEditParam.getId());
70
+        BeanUtil.copyProperties(fsSaleRevenueThreeConsistenceAccountEditParam, fsSaleRevenueThreeConsistenceAccount);
71
+        this.updateById(fsSaleRevenueThreeConsistenceAccount);
72
+    }
73
+
74
+    @Transactional(rollbackFor = Exception.class)
75
+    @Override
76
+    public void delete(List<FsSaleRevenueThreeConsistenceAccountIdParam> fsSaleRevenueThreeConsistenceAccountIdParamList) {
77
+        // 执行删除
78
+        this.removeByIds(CollStreamUtil.toList(fsSaleRevenueThreeConsistenceAccountIdParamList, FsSaleRevenueThreeConsistenceAccountIdParam::getId));
79
+    }
80
+
81
+    @Override
82
+    public FsSaleRevenueThreeConsistenceAccount detail(FsSaleRevenueThreeConsistenceAccountIdParam fsSaleRevenueThreeConsistenceAccountIdParam) {
83
+        return this.queryEntity(fsSaleRevenueThreeConsistenceAccountIdParam.getId());
84
+    }
85
+
86
+    @Override
87
+    public FsSaleRevenueThreeConsistenceAccount queryEntity(Integer id) {
88
+        FsSaleRevenueThreeConsistenceAccount fsSaleRevenueThreeConsistenceAccount = this.getById(id);
89
+        if(ObjectUtil.isEmpty(fsSaleRevenueThreeConsistenceAccount)) {
90
+            throw new CommonException("销售收入上缴-会计账不存在,id值为:{}", id);
91
+        }
92
+        return fsSaleRevenueThreeConsistenceAccount;
93
+    }
94
+}

+ 7 - 0
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/rotationCostSubsidySettle/controller/RotationCostSubsidySettleController.java

@@ -52,6 +52,13 @@ public class RotationCostSubsidySettleController {
52 52
     @Resource
53 53
     private RotationCostSubsidySettleService rotationCostSubsidySettleService;
54 54
 
55
+    /**
56
+     * 分页查询
57
+     *  数据来自定时任务(taskAction)
58
+     *  定时任务设置 dev_job 表,类:com.unis.financialSupervision.modular.rotationCostSubsidySettle.task.RotationCostSubsidyTaskRunner
59
+     * @param planYear
60
+     * @return
61
+     */
55 62
     @ApiOperationSupport(order = 1)
56 63
     @ApiOperation("获取轮换费用补贴清算列表")
57 64
 //    @SaCheckPermission("/financialSupervision/rotationCostSubsidySettle/page")

+ 60 - 15
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/rotationCostSubsidySettle/mapper/mapping/RotationCostSubsidySettleMapper.xml

@@ -13,7 +13,7 @@
13 13
         SELECT
14 14
             t1.orgId,
15 15
             t1.orgName,
16
-            t1.outPlanNumber staticRawGrainPlanQuantity,
16
+            t1.plan_quantity staticRawGrainPlanQuantity,
17 17
             (t1.sealing_quantity + t2.quantity)/(t1.outPlanNumber + t2.inPlanNumber) staticRawGrainCompletionRate,
18 18
             t1.standard_value staticRawGrainCostStandard,
19 19
             (t1.outPlanNumber + t2.inPlanNumber) * t1.standard_value staticRawGrainSubsidy,
@@ -22,7 +22,22 @@
22 22
             t3.standard_value dynamicRawGrainCostStandard,
23 23
             (t3.outPlanNumber + t4.inPlanNumber) * t3.standard_value dynamicRawGrainSubsidy,
24 24
             t1.planYear,
25
-            t1.remarks remark
25
+            t1.remarks remark,
26
+            t5.processedGrainPlanQuantity,
27
+            t5.processedGrainCostStandard,
28
+            t5.processedGrainSubsidy,
29
+            t5.otherSubsidy,
30
+            (
31
+                (
32
+                    (
33
+                        t1.outPlanNumber + t2.inPlanNumber
34
+                    ) * t1.standard_value
35
+                ) + (
36
+                    (
37
+                        t3.outPlanNumber + t4.inPlanNumber
38
+                    ) * t3.standard_value
39
+                ) + t5.processedGrainSubsidy + t5.otherSubsidy
40
+            ) subsidySubtotal
26 41
         FROM
27 42
             (
28 43
                 SELECT
@@ -30,9 +45,9 @@
30 45
                     oi.org_name orgName,
31 46
                     bri.plan_number outPlanNumber,
32 47
                     bri.plan_year planYear,
33
-                    bro.plan_quantity,
34
-                    bro.sealing_quantity,
35
-                    bfcs.standard_value,
48
+                    SUM(bro.plan_quantity) plan_quantity,
49
+                    SUM(bro.sealing_quantity) sealing_quantity,
50
+                    SUM(bfcs.standard_value) standard_value,
36 51
                     bro.remarks
37 52
                 FROM
38 53
                     biz_rp_issuance bri
@@ -46,16 +61,18 @@
46 61
                 AND brr.rotation_year = YEAR (NOW())
47 62
                 AND bri.plan_year = YEAR (NOW())
48 63
                 AND bfcs.standard_type = 1
64
+                GROUP BY
65
+		          bro.org_id
49 66
             ) t1
50 67
         LEFT JOIN (
51 68
             SELECT
52 69
                 brin.org_id orgId,
53 70
                 oi.org_name orgName,
54 71
                 bri.plan_number inPlanNumber,
55
-                bfcs.standard_value,
72
+                SUM(bfcs.standard_value) standard_value,
56 73
                 bri.plan_year planYear,
57
-                brin.plan_quantity,
58
-                brin.quantity
74
+                SUM(brin.plan_quantity) plan_quantity,
75
+		        SUM(brin.quantity) quantity
59 76
             FROM
60 77
                 biz_rp_issuance bri
61 78
             INNER JOIN depot_qh.business_rp_report brr ON bri.rp_report_id = brr.id
@@ -68,6 +85,8 @@
68 85
             AND brr.rotation_year = YEAR (NOW())
69 86
             AND bri.plan_year = YEAR (NOW())
70 87
             AND bfcs.standard_type = 1
88
+            GROUP BY
89
+		      brin.org_id
71 90
         ) t2 ON t1.orgId = t2.orgId
72 91
         LEFT JOIN (
73 92
                 SELECT
@@ -75,9 +94,9 @@
75 94
                     oi.org_name orgName,
76 95
                     bri.plan_number outPlanNumber,
77 96
                     bri.plan_year planYear,
78
-                    bro.plan_quantity,
79
-                    bro.sealing_quantity,
80
-                    bfcs.standard_value
97
+                    SUM(bro.plan_quantity) plan_quantity,
98
+                    SUM(bro.sealing_quantity) sealing_quantity,
99
+                    SUM(bfcs.standard_value) standard_value
81 100
                 FROM
82 101
                     biz_rp_issuance bri
83 102
                 INNER JOIN depot_qh.business_rp_report brr ON bri.rp_report_id = brr.id
@@ -90,16 +109,18 @@
90 109
                 AND brr.rotation_year = YEAR (NOW())
91 110
                 AND bri.plan_year = YEAR (NOW())
92 111
                 AND bfcs.standard_type = 1
112
+                GROUP BY
113
+		          bro.org_id
93 114
         ) t3 ON t1.orgId = t2.orgId AND t2.orgId = t3.orgId
94 115
         LEFT JOIN (
95 116
             SELECT
96 117
                 brin.org_id orgId,
97 118
                 oi.org_name orgName,
98 119
                 bri.plan_number inPlanNumber,
99
-                bfcs.standard_value,
120
+                SUM(bfcs.standard_value) standard_value,
100 121
                 bri.plan_year planYear,
101
-                brin.plan_quantity,
102
-                brin.quantity
122
+                SUM(brin.plan_quantity) plan_quantity,
123
+		        SUM(brin.quantity) quantity
103 124
             FROM
104 125
                 biz_rp_issuance bri
105 126
             INNER JOIN depot_qh.business_rp_report brr ON bri.rp_report_id = brr.id
@@ -112,6 +133,30 @@
112 133
             AND brr.rotation_year = YEAR (NOW())
113 134
             AND bri.plan_year = YEAR (NOW())
114 135
             AND bfcs.standard_type = 1
115
-        ) t4 ON t3.orgId = t4.orgId
136
+            GROUP BY
137
+		      brin.org_id
138
+        ) t4 ON t1.orgId = t4.orgId
139
+        LEFT JOIN (
140
+            SELECT
141
+                gp.id,
142
+                gp.org_id,
143
+                gp.plan_quantity processedGrainPlanQuantity,
144
+                (
145
+                    gp.completion_quantity / gp.plan_quantity
146
+                ) * 100 processedGrainCompletionRate,
147
+                cs.standard_value processedGrainCostStandard,
148
+                (
149
+                    gp.plan_quantity * cs.standard_value
150
+                ) processedGrainSubsidy,
151
+                '0' otherSubsidy
152
+            FROM
153
+                depot_qh.business_pg_gops_plan gp
154
+            LEFT JOIN depot_qh.business_fs_cost_standard cs ON gp.org_id = cs.org_id
155
+            WHERE
156
+                gp.plan_type = 1
157
+            AND cs.standard_type = 1
158
+            GROUP BY
159
+                cs.org_id
160
+        ) t5 ON t1.orgId = t5.org_id
116 161
     </select>
117 162
 </mapper>

+ 1 - 0
unis-plugin/unis-plugin-biz/src/main/java/com/unis/financialSupervision/modular/rotationCostSubsidySettle/service/impl/RotationCostSubsidySettleServiceImpl.java

@@ -108,6 +108,7 @@ public class RotationCostSubsidySettleServiceImpl extends ServiceImpl<RotationCo
108 108
     }
109 109
 
110 110
     @Override
111
+    @Transactional(rollbackFor = Exception.class)
111 112
     public void taskAction() {
112 113
         List<RotationCostSubsidySettle> chaosData = rotationCostSubsidySettleMapper.selectChaosData();
113 114
         if (CollectionUtils.isNotEmpty(chaosData)) {

+ 7 - 4
unis-plugin/unis-plugin-biz/src/main/java/com/unis/reserveLayout/modular/qualityInspectionOrg/mapper/mapping/QualityInspectionOrgMapper.xml

@@ -49,9 +49,9 @@
49 49
             be1.enumname grainNatureName,
50 50
             qqi.grain_grade_id grainGradeId,
51 51
             be2.enumname grainGradeName,
52
-            kkd.ModifyDate modifyDate,
53
-            kkd.scnf,
54
-            kkd.gb,
52
+            kkd.rq modifyDate,
53
+            be3.enumname scnf,
54
+            be4.enumname gb,
55 55
             qqi.jydw,
56 56
             qqi.jyyj,
57 57
             qqi.check_result checkResult,
@@ -71,7 +71,8 @@
71 71
             qqi.dbsl,
72 72
             qqi.sample_status sampleStatus,
73 73
             qqi.sample_package_model samplePackageModel,
74
-            qqi.jysj
74
+            qqi.jysj,
75
+            qqi.shrxm
75 76
         FROM
76 77
             depot_qh.business_qc_quality_inspection qqi
77 78
         LEFT JOIN depot_qh.org_info oi ON qqi.org_id = oi.org_id
@@ -83,6 +84,8 @@
83 84
         LEFT JOIN depot_qh.basic_enum be ON qqi.grain_variety_id = be.enumId
84 85
         LEFT JOIN depot_qh.basic_enum be1 ON qqi.grain_nature_id = be1.enumId
85 86
         LEFT JOIN depot_qh.basic_enum be2 ON qqi.grain_grade_id = be2.enumId
87
+        LEFT JOIN depot_qh.basic_enum be3 ON kkd.scnf = be3.enumId
88
+        LEFT JOIN depot_qh.basic_enum be4 ON kkd.gb = be4.enumId
86 89
         WHERE
87 90
             id = #{qualityId}
88 91
     </select>