Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
张雷
/
skboot-zhongye
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
构建
提交
问题看板
文件
提交
网络
比较
分支
标签
4d6c01ca
由
张雷
编写于
2024-10-27 18:21:57 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
月度数据单位BUG修改
1 个父辈
d47e1c6f
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
8 行增加
和
7 行删除
sk-module-datafill/src/main/java/com/skua/modules/custom/service/impl/FCustomReportDatasetServiceImpl.java
sk-module-system/src/main/java/com/skua/config/mybatis/MybatisInterceptor.java
sk-module-datafill/src/main/java/com/skua/modules/custom/service/impl/FCustomReportDatasetServiceImpl.java
查看文件 @
4d6c01c
...
...
@@ -95,20 +95,22 @@ public class FCustomReportDatasetServiceImpl extends ServiceImpl<FCustomReportDa
" ifnull(v7.qntqsfsl,0) as qntqsfsl, "
+
" v6.ysfsl,v6.sfsldbbhl, "
+
" rtc.target_water as ndslmb, "
+
"
v6.
yslwcbl, "
+
"
round(100*(sum(v1.CSL)/10000)/rtc.target_water,2)
yslwcbl, "
+
" v6.sldyyqyy, "
+
" v4.dlhj as ydh,ifnull(v5.dlhj,0) qntqdh, "
+
" round(v4.dlhj/sum(v1.CSL),2) as ydh,"
+
" round(ifnull(v5.dlhj/tb.clsl_tb,0)/10000,2) qntqdh, "
+
" round(100*(v4.dlhj-ifnull(v5.dlhj,0))/ifnull(v5.dlhj,v4.dlhj),2) as dhdbbhl, "
+
" v6.dhgyqntqyy, "
+
" v4.yjhl as yyh, "
+
" v6.yyf,ifnull(v5.yjhl,0) qntqyh, "
+
" round(v4.yjhl/sum(v1.CSL),2) as yyh, "
+
" v6.yyf,"
+
" round(ifnull(v5.yjhl/tb.clsl_tb,0),2) qntqyh, "
+
" round(100*(v4.yjhl-ifnull(v5.yjhl,0))/ifnull(v5.yjhl,v4.yjhl),2) as yhdbbhl, "
+
" v6.yhgyqntqyy, "
+
" rtc.target_power as bndhmb, "
+
"
y.dlhj_year
as bnsjdh, "
+
"
round(y.dlhj_year/sum(v1.CSL),2)
as bnsjdh, "
+
" v6.dhcmbzyy, "
+
" rtc.target_drug as bnyhmb, "
+
"
y.yjhl_year
as bnsjyh, "
+
"
round(y.yjhl_year/sum(v1.CSL),2)
as bnsjyh, "
+
" v6.yhcyqyy "
+
" from "
+
dataViewName2119
+
" v1 "
+
" left join ( "
+
...
...
sk-module-system/src/main/java/com/skua/config/mybatis/MybatisInterceptor.java
查看文件 @
4d6c01c
...
...
@@ -147,7 +147,6 @@ public class MybatisInterceptor implements Interceptor {
||
"com.skua.modules.erp.mapper.PurchasePlanItemMapper.queryListByPlanId"
.
equals
(
sqlId
)
//采购计划
||
"com.skua.modules.erp.mapper.PurchaseMaterialMapper.queryListByContractId"
.
equals
(
sqlId
)
//采购合同
||
"com.skua.modules.erp.mapper.DistributMaterialMapper.queryListByContractId"
.
equals
(
sqlId
)
//采购-分销合同
||
"com.skua.modules.erp.mapper.ERPPurchaseContractMapper.selectList"
.
equals
(
sqlId
)
//采购合同
||
"com.skua.modules.supplies.mapper.EquipmentSparepartSuppliesMapper.selectList"
.
equals
(
sqlId
)
//物料
||
"com.skua.modules.erp.mapper.ERPPurchaseContractMapper.selectList"
.
equals
(
sqlId
)
//采购合同列表
||
"com.skua.modules.erp.mapper.DistributContractMapper.selectList"
.
equals
(
sqlId
)
//分销合同列表
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论