Merge branch 'develop_master' into develop_migration
This commit is contained in:
@@ -387,12 +387,12 @@
|
||||
</if>
|
||||
|
||||
<if test="itemsName != null and itemsName!=''">
|
||||
and ITEMS_NAME=#{itemsName}
|
||||
and ITEMS_NAME like CONCAT('%', #{itemsName},'%')
|
||||
</if>
|
||||
<if test="XCXSSRQ !=null and XCXSSRQ!=''">
|
||||
<if test="XCXSSRQ !=null">
|
||||
and XCXSSRQ=#{XCXSSRQ}
|
||||
</if>
|
||||
<if test="ZCCSSRQ !=null and ZCCSSRQ != ''">
|
||||
<if test="ZCCSSRQ !=null">
|
||||
and ZCCSSRQ=#{ZCCSSRQ}
|
||||
</if>
|
||||
</where>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
</resultMap>
|
||||
|
||||
<!-- 查询条件 -->
|
||||
<select id="select" resultMap="resultMap" parameterType="com.adc.da.scheduled.entity.DataDTO">
|
||||
<select id="selectWithinTerm" resultMap="resultMap" parameterType="com.adc.da.scheduled.entity.DataDTO">
|
||||
SELECT
|
||||
info.ID,
|
||||
info.STAND_SORT,
|
||||
@@ -31,12 +31,27 @@
|
||||
FROM
|
||||
sar_standards_info AS info
|
||||
JOIN sar_stand_attr_info AS attrInfo ON info.id = attrinfo.stand_id
|
||||
WHERE
|
||||
attrInfo.${str} BETWEEN #{date.startDate} and #{date.endDate}
|
||||
<where>
|
||||
1=1
|
||||
<if test="date!=null">
|
||||
and
|
||||
attrInfo.${str}
|
||||
BETWEEN DATE_FORMAT( #{date.startDate},'%Y-%m-%d %H:%i:%s')
|
||||
and DATE_FORMAT( #{date.endDate},'%Y-%m-%d %H:%i:%s')
|
||||
</if>
|
||||
</where>
|
||||
|
||||
|
||||
|
||||
|
||||
</select>
|
||||
|
||||
|
||||
<update id="updateStandardInfo">
|
||||
update sar_standards_info
|
||||
set TEXT_STATUS=#{textStatus}
|
||||
where ID=#{id}
|
||||
</update>
|
||||
|
||||
|
||||
</mapper>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<result column="ZRGCS" property="dutyEngineer"/>
|
||||
</resultMap>
|
||||
<!-- 查询条件 -->
|
||||
<select id="select" resultMap="resultMap" parameterType="com.adc.da.scheduled.entity.DataDTO">
|
||||
<select id="selectWithinTerm" resultMap="resultMap" parameterType="com.adc.da.scheduled.entity.DataDTO">
|
||||
SELECT
|
||||
items.ID,
|
||||
STAND_ID,
|
||||
|
||||
Reference in New Issue
Block a user