Explorar el Código

后端: 公共文件模板

baichengfei hace 4 años
padre
commit
0e117272bf

+ 15 - 0
src/dashoo.cn/doc/导出处室分办单位接收到的合同评价.sql

@@ -0,0 +1,15 @@
+SELECT
+b.Id,
+ a.SupplierName,
+ ProjectOwner,
+ case a.Status when  1 then "未开始" when 2 then "履行中" when 3 then "履行完毕" end as ConStatus,
+ sum(c.Score),
+ GROUP_CONCAT(DISTINCT c.Remark) re,
+ b.CreateBy
+FROM
+ OilContract a
+ LEFT JOIN OilContractReview b ON b.ContractId = a.Id
+ LEFT JOIN OilContractEvaluationItems c on (c.ContentReviewId=b.Id and c.Category=0 and c.LevelCode=2)
+
+where a.ContractClass="03" and b.ThirdAudit=100000657
+GROUP BY b.Id;

BIN
src/dashoo.cn/doc/服务类资质配置导出模板.xlsx