Explorar o código

项目组件属性值处理

huangxingxing hai 3 meses
pai
achega
07ba7f688d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/java/com/miniframe/mappers/es/dao/EsMapper.java

+ 1 - 1
src/main/java/com/miniframe/mappers/es/dao/EsMapper.java

@@ -64,7 +64,7 @@ public interface EsMapper extends MiniserviceBaseDao {
             "b.code as code," +
             "b.value_def as valueDef," +
             "b.value_type as valueType, " +
-            "(select max(c.type) from es_data as c where c.code = b.value_def) as dataType " +
+            "(select max(c.type) from es_data as c where c.cd_id = b.value_def) as dataType " +
             "from es_pro_com_att a,es_att b where a.att_id=b.att_id and pc_id=#{pcId} ORDER BY ser asc;")
     List<ProComAttDto> selectPrComAttList(String pcId);