Merge remote-tracking branch 'origin/develop_3' into develop_3
This commit is contained in:
+38
-26
@@ -51,15 +51,14 @@
|
||||
<result column="foShow" property="foShow"/>
|
||||
</resultMap>
|
||||
|
||||
<resultMap id="sarItemVOResultMap" type="com.adc.da.slrs.sarStandItems.entity.SarItemVO">
|
||||
<resultMap id="sarItemVOResultMap" type="com.adc.da.slrs.sarStandItems.entity.SarStandItems">
|
||||
<id column="id" property="id"/>
|
||||
<result column="STAND_ID" property="standId"/>
|
||||
<result column="ITEMS_NUM" property="itemsNum"/>
|
||||
<result column="ITEMS_NAME" property="itemsName"/>
|
||||
<result column="ITEMS_TITLE" property="itemsTitle"/>
|
||||
<result column="TERMS_CONDITIONS" property="termsConditions"/>
|
||||
<result column="XCXSSRQ" property="XCXSSRQ"/>
|
||||
<result column="ZCCSSRQ" property="ZCCSSRQ"/>
|
||||
<result column="XCXSSRQ" property="xccssrq"/>
|
||||
<result column="ZCCSSRQ" property="zccssrq"/>
|
||||
<result column="APPLY_ARCTIC" property="applyArctic"/>
|
||||
<result column="RESPONSIBLE_UNIT" property="responsibleUnit"/>
|
||||
<result column="DUTY_ENGINEER" property="dutyEngineer"/>
|
||||
@@ -367,41 +366,54 @@
|
||||
|
||||
</delete>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- SAR_STAND_ITEMS 列表总数-->
|
||||
<select id="queryByCount" resultType="java.lang.Integer" parameterType="com.adc.da.base.page.BasePage">
|
||||
select count(1) from SAR_STAND_ITEMS
|
||||
<include refid="Base_Where_Clause"/>
|
||||
</select>
|
||||
|
||||
|
||||
<sql id="sarItemWhere">
|
||||
<where>
|
||||
<if test="standId!=null and standId!=''">
|
||||
and stand_id=#{standId}
|
||||
</if>
|
||||
|
||||
<if test="fileType !=null and fileType!=''">
|
||||
and file_type=#{fileType}
|
||||
</if>
|
||||
|
||||
<if test="itemsName != null and itemsName!=''">
|
||||
and ITEMS_NAME=#{itemsName}
|
||||
</if>
|
||||
<if test="XCXSSRQ !=null and XCXSSRQ!=''">
|
||||
and XCXSSRQ=#{XCXSSRQ}
|
||||
</if>
|
||||
<if test="ZCCSSRQ !=null and ZCCSSRQ != ''">
|
||||
and ZCCSSRQ=#{ZCCSSRQ}
|
||||
</if>
|
||||
</where>
|
||||
</sql>
|
||||
|
||||
<select id="sarItemCount" parameterType="com.adc.da.slrs.sarStandItems.entity.FindSarItemsPageReqDTO" resultType="java.lang.Integer">
|
||||
SELECT COUNT( 1 ) FROM sar_stand_items
|
||||
<include refid="sarItemWhere"/>
|
||||
|
||||
</select>
|
||||
|
||||
|
||||
<select id="querySarItemAndInterpretation" resultMap="sarItemVOResultMap"
|
||||
parameterType="com.adc.da.slrs.sarStandItems.entity.FindSarItemsPageReqDTO">
|
||||
SELECT
|
||||
*
|
||||
FROM
|
||||
sar_stand_items AS a
|
||||
<where>
|
||||
|
||||
<if test="standId!=null and standId!=''">
|
||||
and a.stand_id=#{standId}
|
||||
</if>
|
||||
|
||||
<if test="fileType !=null and fileType!=''">
|
||||
and a.file_type=#{fileType}
|
||||
</if>
|
||||
|
||||
<if test="itemsName != null and itemsName!=''">
|
||||
and a.ITEMS_NAME=#{itemsName}
|
||||
</if>
|
||||
<if test="XCXSSRQ !=null and XCXSSRQ!=''">
|
||||
and a.XCXSSRQ=#{XCXSSRQ}
|
||||
</if>
|
||||
<if test="ZCCSSRQ !=null and ZCCSSRQ != ''">
|
||||
and a.ZCCSSRQ=#{ZCCSSRQ}
|
||||
</if>
|
||||
</where>
|
||||
sar_stand_items
|
||||
<include refid="sarItemWhere"/>
|
||||
LIMIT #{page},#{pageSize}
|
||||
|
||||
|
||||
</select>
|
||||
|
||||
<!-- 查询SAR_STAND_ITEMS列表 -->
|
||||
|
||||
Reference in New Issue
Block a user