Commit 914aa152 authored by chenzhao's avatar chenzhao

Merge branch 'developer' of http://39.98.45.134:8090/moa/amos-boot-biz into developer

parents 8c3fab90 716787df
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
<select id="getHealthInfoByArea" resultType="java.util.Map"> <select id="getHealthInfoByArea" resultType="java.util.Map">
SELECT SELECT
ARAE as area, ARAE as area,
avg( a.avgHealthIndex ) AS healthIndex CEILING(avg( a.avgHealthIndex )) AS healthIndex
FROM FROM
( (
SELECT SELECT
......
...@@ -325,7 +325,7 @@ public class PersonQrCodeController extends BaseController { ...@@ -325,7 +325,7 @@ public class PersonQrCodeController extends BaseController {
} else if ("S1".equals(column)) { } else if ("S1".equals(column)) {
resultMap = sjglZsjZsbtzMapper.getEquipDetailInfoByObjectId(objectId); resultMap = sjglZsjZsbtzMapper.getEquipDetailInfoByObjectId(objectId);
} else if ("P1".equals(column)) { } else if ("P1".equals(column)) {
resultMap = sjglZsjZsbtzMapper.getJobDetailInfoByObjectId(jobId); resultMap = sjglZsjZsbtzMapper.getJobDetailInfoByObjectId(objectId);
} }
return ResponseHelper.buildResponse(resultMap); return ResponseHelper.buildResponse(resultMap);
} }
......
...@@ -152,8 +152,8 @@ ...@@ -152,8 +152,8 @@
ifnull(a.qrcode_color, '') AS qrCodeColor, ifnull(a.qrcode_color, '') AS qrCodeColor,
ifnull(b.COMPANY_NAME, '') AS stationName, ifnull(b.COMPANY_NAME, '') AS stationName,
ifnull(a.CREATE_TIME, '') as recDate, ifnull(a.CREATE_TIME, '') as recDate,
a.DBID AS jobId, a.DBID AS objectId,
c.SBBM as objectId c.SBBM as jobId
FROM FROM
fdgl_job_main a fdgl_job_main a
INNER JOIN privilege_company b ON a.WERKS = b.COMPANY_CODE and b.IS_DELETED = false AND b.`LEVEL` = 'station' INNER JOIN privilege_company b ON a.WERKS = b.COMPANY_CODE and b.IS_DELETED = false AND b.`LEVEL` = 'station'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment