预警区间
This commit is contained in:
@@ -1,10 +1,8 @@
|
|||||||
package com.adc.da.scheduled.dao;
|
package com.adc.da.scheduled.dao;
|
||||||
|
|
||||||
|
|
||||||
import com.adc.da.scheduled.entity.DataDTO;
|
import com.adc.da.scheduled.entity.TermDTO;
|
||||||
import com.adc.da.scheduled.entity.WarningEO;
|
|
||||||
|
|
||||||
import com.adc.da.slrs.sarStandWarning.entity.EarlyWarningEO;
|
|
||||||
import org.apache.ibatis.annotations.Param;
|
import org.apache.ibatis.annotations.Param;
|
||||||
import org.springframework.stereotype.Repository;
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
@@ -13,7 +11,7 @@ import java.util.List;
|
|||||||
@Repository
|
@Repository
|
||||||
public interface SarStandardInfoDao{
|
public interface SarStandardInfoDao{
|
||||||
|
|
||||||
public List<String> selectWithinTerm(DataDTO date, String str);
|
public List<String> selectWithinTerm(TermDTO date, String str);
|
||||||
|
|
||||||
public int updateStandardInfo(@Param("id")String id, @Param("textStatus") String textStatus);
|
public int updateStandardInfo(@Param("id")String id, @Param("textStatus") String textStatus);
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
package com.adc.da.scheduled.dao;
|
package com.adc.da.scheduled.dao;
|
||||||
|
|
||||||
import com.adc.da.scheduled.entity.DataDTO;
|
import com.adc.da.scheduled.entity.TermDTO;
|
||||||
import com.adc.da.scheduled.entity.WarningEO;
|
import com.adc.da.scheduled.entity.WarningEO;
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
@@ -11,6 +11,6 @@ import java.util.List;
|
|||||||
@Repository
|
@Repository
|
||||||
public interface SarStandardItemDao extends BaseMapper{
|
public interface SarStandardItemDao extends BaseMapper{
|
||||||
|
|
||||||
public List<WarningEO> selectWithinTerm(DataDTO date, String str);
|
public List<WarningEO> selectWithinTerm(TermDTO date, String str);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
<!-- </resultMap>-->
|
<!-- </resultMap>-->
|
||||||
|
|
||||||
<!-- 查询条件 -->
|
<!-- 查询条件 -->
|
||||||
<select id="selectWithinTerm" resultType="java.lang.String" parameterType="com.adc.da.scheduled.entity.DataDTO">
|
<select id="selectWithinTerm" resultType="java.lang.String" parameterType="com.adc.da.scheduled.entity.TermDTO">
|
||||||
SELECT
|
SELECT
|
||||||
info.ID
|
info.ID
|
||||||
FROM
|
FROM
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<result column="STAND_YEAR" property="standYear"/>
|
<result column="STAND_YEAR" property="standYear"/>
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<!-- 查询条件 -->
|
<!-- 查询条件 -->
|
||||||
<select id="selectWithinTerm" resultMap="resultMap" parameterType="com.adc.da.scheduled.entity.DataDTO">
|
<select id="selectWithinTerm" resultMap="resultMap" parameterType="com.adc.da.scheduled.entity.TermDTO">
|
||||||
SELECT
|
SELECT
|
||||||
items.ID,
|
items.ID,
|
||||||
items.ITEMS_NUM,
|
items.ITEMS_NUM,
|
||||||
|
|||||||
Reference in New Issue
Block a user