|
|
|
@ -70,20 +70,26 @@
|
|
|
|
|
pResult, MID, DID, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, N1, N2, N3, T1, T2, T3,
|
|
|
|
|
T4, T5, T6
|
|
|
|
|
</sql>
|
|
|
|
|
<select id="selectByExample" parameterType="com.emr.entity.ArchiveOtherExtExample" resultMap="BaseResultMap">
|
|
|
|
|
select
|
|
|
|
|
<if test="distinct">
|
|
|
|
|
distinct
|
|
|
|
|
</if>
|
|
|
|
|
'false' as QUERYID,
|
|
|
|
|
<select id="selectByExample" parameterType="com.emr.entity.ArchiveOtherExt" resultMap="BaseResultMap">
|
|
|
|
|
select distinct 'false' as QUERYID,
|
|
|
|
|
<include refid="Base_Column_List" />
|
|
|
|
|
from archive_other_ext
|
|
|
|
|
<if test="_parameter != null">
|
|
|
|
|
<include refid="Example_Where_Clause" />
|
|
|
|
|
</if>
|
|
|
|
|
<if test="orderByClause != null">
|
|
|
|
|
order by ${orderByClause}
|
|
|
|
|
</if>
|
|
|
|
|
<where>
|
|
|
|
|
1=1
|
|
|
|
|
<if test="mid != null">
|
|
|
|
|
and mid=#{mid,jdbcType=NVARCHAR}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="sysflag != null">
|
|
|
|
|
and sysflag=#{sysflag,jdbcType=INTEGER}
|
|
|
|
|
</if>
|
|
|
|
|
<!--<if test="_parameter != null">
|
|
|
|
|
<include refid="Example_Where_Clause" />
|
|
|
|
|
</if>
|
|
|
|
|
<if test="orderByClause != null">
|
|
|
|
|
order by ${orderByClause}
|
|
|
|
|
</if>-->
|
|
|
|
|
</where>
|
|
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
|
|
|
|
|
select
|
|
|
|
|