Browse Source

sql更改

gaodd 4 months ago
parent
commit
7328468e3f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/com/chinaitop/agile/mapper/CrkRecordMapper.xml

+ 2 - 2
src/main/java/com/chinaitop/agile/mapper/CrkRecordMapper.xml

@@ -324,10 +324,10 @@
324 324
 	order by crkRecord.rq DESC
325 325
   </select>
326 326
   <select id="queryJyxxNew" resultType="java.util.Map" parameterType="java.util.Map">
327
-  	select b.zbxmc zbxmc,c.enumitemname enumname,b.jyz jyz,b.jykl jykl,b.jykj jykj,c.parentid parentid
327
+  	select b.zbxmc zbxmc,c.enumname enumname,b.jyz jyz,b.jykl jykl,b.jykj jykj,c.parentid parentid
328 328
 	from data_crkyw_jyxx_default a
329 329
 	left join data_crkyw_jyxx_flt_001 b on b.maindataid=a.dataid
330
-	left join enumitem c on c.enumitemid=b.zbxmc and c.enumid='1046'
330
+	left join basic_enum c on c.enumId=b.zbxmc and c.enumid='1046'
331 331
 	where 1=1 and a.bizno=#{bizNo}
332 332
   </select>
333 333
   <select id="queryDataLspz" resultType="java.util.Map" parameterType="java.util.Map">