|
@@ -23,19 +23,23 @@
|
|
</select>
|
|
</select>
|
|
<select id="selectDetails" resultType="cn.com.victorysoft.business.cyyzs.entity.TubularStructure">
|
|
<select id="selectDetails" resultType="cn.com.victorysoft.business.cyyzs.entity.TubularStructure">
|
|
select
|
|
select
|
|
- *
|
|
|
|
|
|
+ a.*,
|
|
|
|
+ (select unitname from sys_unitinfo where unitcode = a.dwdm) dwmc,
|
|
|
|
+ (select blockname from sys_blockinfo where blockcode = a.dydm) dymc,
|
|
|
|
+ (select flag_name from sys_flag where flag_code = a.gylx) gylx_name,
|
|
|
|
+ (select flag_name from sys_flag where flag_code = a.cslb) cslb_name
|
|
from
|
|
from
|
|
- water_tubular_structure
|
|
|
|
|
|
+ water_tubular_structure a
|
|
where
|
|
where
|
|
1 = 1
|
|
1 = 1
|
|
<if test="yclx != null and yclx != ''"> </if>
|
|
<if test="yclx != null and yclx != ''"> </if>
|
|
- <if test="dwdm != null and dwdm != ''"> and dwdm = #{dwdm}</if>
|
|
|
|
- <if test="dydm != null and dydm != ''"> and dydm = #{dydm}</if>
|
|
|
|
- <if test="jh != null and jh != ''"> and jh = #{jh}</if>
|
|
|
|
- <if test="gylx != null and gylx != ''"> and gylx = #{gylx}</if>
|
|
|
|
- <if test="fgq != null and fgq != ''"> and fgq = #{fgq}</if>
|
|
|
|
- <if test="cdPsq != null and cdPsq != ''"> and cd_psq = #{cdPsq}</if>
|
|
|
|
- <if test="xjf != null and xjf != ''"> and xjf = #{xjf}</if>
|
|
|
|
|
|
+ <if test="dwdm != null and dwdm != ''"> and a.dwdm = #{dwdm}</if>
|
|
|
|
+ <if test="dydm != null and dydm != ''"> and a.dydm = #{dydm}</if>
|
|
|
|
+ <if test="jh != null and jh != ''"> and a.jh = #{jh}</if>
|
|
|
|
+ <if test="gylx != null and gylx != ''"> and a.gylx = #{gylx}</if>
|
|
|
|
+ <if test="fgq != null and fgq != ''"> and a.fgq = #{fgq}</if>
|
|
|
|
+ <if test="cdPsq != null and cdPsq != ''"> and a.cd_psq = #{cdPsq}</if>
|
|
|
|
+ <if test="xjf != null and xjf != ''"> and a.xjf = #{xjf}</if>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
|