commit
This commit is contained in:
@@ -2,9 +2,14 @@ package com.adc.da.slrs.sarStandWarning.dao;
|
||||
|
||||
|
||||
import com.adc.da.slrs.sarStandWarning.entity.EarlyWarningEO;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Constants;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface EarlyWarningEODao extends BaseMapper<EarlyWarningEO> {
|
||||
|
||||
IPage<EarlyWarningEO> selectWarningPage(IPage<EarlyWarningEO> page, @Param(Constants.WRAPPER) QueryWrapper<EarlyWarningEO> queryWrapper);
|
||||
|
||||
}
|
||||
|
||||
@@ -72,5 +72,15 @@ public class EarlyWarningEO extends BaseEntity {
|
||||
@TableField("POWER")
|
||||
private String power;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String issueTime;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String SSRQ;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String XCXSSRQ;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String ZCCSSRQ;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.adc.da.slrs.sarStandWarning.dao.EarlyWarningEODao">
|
||||
|
||||
<!-- Result Map-->
|
||||
<resultMap id="resultMap" type="com.adc.da.slrs.sarStandWarning.entity.EarlyWarningEO" >
|
||||
<id column="id" property="id" />
|
||||
<result column="STAND_ID" property="standId" />
|
||||
<result column="STAND_NAME" property="standName" />
|
||||
<result column="STAND_TYPE" property="standType"/>
|
||||
<result column="STAND_CODE" property="standCode"/>
|
||||
<result column="XCXSSRQ" property="XCXSSRQ"/>
|
||||
<result column="ZCCSSRQ" property="ZCCSSRQ"/>
|
||||
<result column="SSRQ" property="SSRQ"/>
|
||||
<result column="PUT_TIME" property="putTime" />
|
||||
<result column="APPLY_TYPE" property="applyType" />
|
||||
<result column="ITEMS_ID" property="itemsId" />
|
||||
<result column="ITEMS_NUM" property="itemsNum" />
|
||||
<result column="ITEMS_NAME" property="itemsName" />
|
||||
<result column="POLICY_ID" property="policyId" />
|
||||
<result column="POLICY_NAME" property="policyName" />
|
||||
<result column="DUTY_ENGINEER" property="dutyEngineer" />
|
||||
<result column="DUTY_ENGINEER" property="dutyEngineer" />
|
||||
<result column="DUTY_ENGINEER" property="dutyEngineer" />
|
||||
<result column="issue_time" property="issueTime" />
|
||||
|
||||
|
||||
</resultMap>
|
||||
|
||||
|
||||
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user