定时标准预警(不推送)
This commit is contained in:
@@ -3,33 +3,24 @@
|
||||
<mapper namespace="com.adc.da.scheduled.dao.SarStandardInfoDao">
|
||||
|
||||
<!-- Result Map-->
|
||||
<resultMap id="resultMap" type="com.adc.da.scheduled.entity.WarningEO" >
|
||||
<id column="ID" property="standId" />
|
||||
<result column="STAND_NUMBER" property="standNum" />
|
||||
<result column="STAND_NAME" property="standName" />
|
||||
<result column="STAND_SORT" property="standSort"/>
|
||||
<result column="STAND_YEAR" property="standYear"/>
|
||||
<result column="XCXSSRQ" property="XCXSSRQ"/>
|
||||
<result column="ZCCSSRQ" property="ZCCSSRQ"/>
|
||||
<result column="SSRQ" property="SSRQ"/>
|
||||
<result column="CLLX" property="applyType" />
|
||||
<result column="STAND_TYPE" property="standType" />
|
||||
<result column="ZRGCS" property="dutyEngineer" />
|
||||
</resultMap>
|
||||
<!-- <resultMap id="resultMap" type="com.adc.da.scheduled.entity.WarningEO" >-->
|
||||
<!-- <id column="ID" property="standId" />-->
|
||||
<!-- <result column="STAND_NUMBER" property="standNum" />-->
|
||||
<!-- <result column="STAND_NAME" property="standName" />-->
|
||||
<!-- <result column="STAND_SORT" property="standSort"/>-->
|
||||
<!-- <result column="STAND_YEAR" property="standYear"/>-->
|
||||
<!-- <result column="XCXSSRQ" property="XCXSSRQ"/>-->
|
||||
<!-- <result column="ZCCSSRQ" property="ZCCSSRQ"/>-->
|
||||
<!-- <result column="SSRQ" property="SSRQ"/>-->
|
||||
<!-- <result column="CLLX" property="applyType" />-->
|
||||
<!-- <result column="STAND_TYPE" property="standType" />-->
|
||||
<!-- <result column="ZRGCS" property="dutyEngineer" />-->
|
||||
<!-- </resultMap>-->
|
||||
|
||||
<!-- 查询条件 -->
|
||||
<select id="selectWithinTerm" resultMap="resultMap" parameterType="com.adc.da.scheduled.entity.DataDTO">
|
||||
<select id="selectWithinTerm" resultType="java.lang.String" parameterType="com.adc.da.scheduled.entity.DataDTO">
|
||||
SELECT
|
||||
info.ID,
|
||||
info.STAND_SORT,
|
||||
info.STAND_YEAR,
|
||||
info.STAND_NUMBER,
|
||||
info.STAND_NAME,
|
||||
info.STAND_TYPE,
|
||||
attrInfo.CLLX,
|
||||
attrInfo.ZRGCS,
|
||||
attrInfo.SSRQ,
|
||||
attrInfo.${str}
|
||||
info.ID
|
||||
FROM
|
||||
sar_standards_info AS info
|
||||
JOIN sar_stand_attr_info AS attrInfo ON info.id = attrinfo.stand_id
|
||||
|
||||
Reference in New Issue
Block a user