Browse Source

#定时任务抽离

zhongwei
yang_shj 1 year ago
parent
commit
653db3d1fe
  1. 8
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/fill/mapper/OtherMapper.java
  2. 25
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/fill/mapper/OtherMapper.xml

8
hzims-service/operational/src/main/java/com/hnac/hzims/operational/fill/mapper/OtherMapper.java

@ -0,0 +1,8 @@
package com.hnac.hzims.operational.fill.mapper;
import com.hnac.hzims.operational.fill.entity.OtherEntity;
import org.springblade.core.datascope.mapper.UserDataScopeBaseMapper;
public interface OtherMapper extends UserDataScopeBaseMapper<OtherEntity> {
}

25
hzims-service/operational/src/main/java/com/hnac/hzims/operational/fill/mapper/OtherMapper.xml

@ -0,0 +1,25 @@
<?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.hnac.hzims.operational.fill.mapper.OtherMapper">
<resultMap id="BaseResultMap" type="com.hnac.hzims.operational.fill.entity.OtherEntity">
<id column="ID" property="id" jdbcType="BIGINT"/>
<result column="START_DATE" property="startDate" jdbcType="DATE"/>
<result column="END_DATE" property="endDate" jdbcType="DATE"/>
<result column="FA_QUANTITY" property="faQuantity" jdbcType="BIGINT"/>
<result column="ONLINE_RATE" property="onlineRate" jdbcType="VARCHAR"/>
<result column="TENANT_ID" property="tenantId" jdbcType="VARCHAR"/>
<result column="STATUS" property="status" jdbcType="TINYINT"/>
<result column="CREATE_TIME" property="createTime" jdbcType="TIMESTAMP"/>
<result column="UPDATE_TIME" property="updateTime" jdbcType="TIMESTAMP"/>
<result column="CREATE_USER" property="createUser" jdbcType="BIGINT"/>
<result column="UPDATE_USER" property="updateUser" jdbcType="BIGINT"/>
<result column="IS_DELETED" property="isDeleted" jdbcType="TINYINT"/>
<result column="CREATE_DEPT" property="createDept" jdbcType="BIGINT"/>
</resultMap>
<sql id="Base_Column_List">
ID, START_DATE, END_DATE , FA_QUANTITY , ONLINE_RATE ,TENANT_ID, STATUS, CREATE_TIME,
UPDATE_TIME, CREATE_USER, UPDATE_USER, IS_DELETED, CREATE_DEPT
</sql>
</mapper>
Loading…
Cancel
Save