zelong.shao

dao|dao层重新生成报错调整

......@@ -36,8 +36,8 @@ public class ConsignmentUtil {
// 校验字段是否匹配,并将错误信息添加到errList中
checkFieldMismatch(bo.getShipperAccount(), consignment.getShipperAccount(), "con_shipperAccount", errList);
checkFieldMismatch(bo.getRecipientCountry(), consignment.getRecipientCountry(), "con_recipientCountry", errList);
checkFieldMismatch(bo.getShipperCountry(), consignment.getShipperCountry(), "con_shipperCountry", errList);
//checkFieldMismatch(bo.getRecipientCountry(), consignment.getRecipientCountry(), "con_recipientCountry", errList);
//checkFieldMismatch(bo.getShipperCountry(), consignment.getShipperCountry(), "con_shipperCountry", errList);
if (!errList.isEmpty()) {
String enumResCode601 = localeMessageUtil.getMessage("enum_res_code_601");
......
package com.fedex.connect.common.dao.sys;
import com.fedex.connect.common.model.sys.RedisSlab;
import com.fedex.connect.common.model.sys.RedisSlabExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface RedisSlabMapper {
long countByExample(RedisSlabExample example);
int deleteByExample(RedisSlabExample example);
int deleteByPrimaryKey(Long id);
int insert(RedisSlab record);
int insertSelective(RedisSlab record);
List<RedisSlab> selectByExample(RedisSlabExample example);
RedisSlab selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") RedisSlab record, @Param("example") RedisSlabExample example);
int updateByExample(@Param("record") RedisSlab record, @Param("example") RedisSlabExample example);
int updateByPrimaryKeySelective(RedisSlab record);
int updateByPrimaryKey(RedisSlab record);
}
\ No newline at end of file
package com.fedex.connect.common.dao.sys;
import com.fedex.connect.common.model.sys.redisSlab;
import com.fedex.connect.common.model.sys.redisSlabExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface redisSlabMapper {
long countByExample(redisSlabExample example);
int deleteByExample(redisSlabExample example);
int deleteByPrimaryKey(Long id);
int insert(redisSlab record);
int insertSelective(redisSlab record);
List<redisSlab> selectByExample(redisSlabExample example);
redisSlab selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") redisSlab record, @Param("example") redisSlabExample example);
int updateByExample(@Param("record") redisSlab record, @Param("example") redisSlabExample example);
int updateByPrimaryKeySelective(redisSlab record);
int updateByPrimaryKey(redisSlab record);
}
\ No newline at end of file
<?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.fedex.connect.common.dao.sys.redisSlabMapper">
<resultMap id="BaseResultMap" type="com.fedex.connect.common.model.sys.redisSlab">
<mapper namespace="com.fedex.connect.common.dao.sys.RedisSlabMapper">
<resultMap id="BaseResultMap" type="com.fedex.connect.common.model.sys.RedisSlab">
<id column="ID" jdbcType="NUMERIC" property="id" />
<result column="REDIS_KEY" jdbcType="VARCHAR" property="redisKey" />
<result column="REDIS_MSG" jdbcType="VARCHAR" property="redisMsg" />
......@@ -76,7 +76,7 @@
ID, REDIS_KEY, REDIS_MSG, VALID_DURATION, DIS_TIME, CREATE_TIME, CREATE_USER_ID,
CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME
</sql>
<select id="selectByExample" parameterType="com.fedex.connect.common.model.sys.redisSlabExample" resultMap="BaseResultMap">
<select id="selectByExample" parameterType="com.fedex.connect.common.model.sys.RedisSlabExample" resultMap="BaseResultMap">
<include refid="OracleDialectPrefix" />
select
<if test="distinct">
......@@ -103,13 +103,13 @@
delete from T_SYS_REDIS_SLAB
where ID = #{id,jdbcType=NUMERIC}
</delete>
<delete id="deleteByExample" parameterType="com.fedex.connect.common.model.sys.redisSlabExample">
<delete id="deleteByExample" parameterType="com.fedex.connect.common.model.sys.RedisSlabExample">
delete from T_SYS_REDIS_SLAB
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.fedex.connect.common.model.sys.redisSlab">
<insert id="insert" parameterType="com.fedex.connect.common.model.sys.RedisSlab">
<selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
SELECT SEQ_T_SYS_REDIS_SLAB.NEXTVAL FROM DUAL
</selectKey>
......@@ -122,7 +122,7 @@
#{createUserId,jdbcType=NUMERIC}, #{createUserName,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP},
#{modifyUserId,jdbcType=NUMERIC}, #{modifyUserName,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.fedex.connect.common.model.sys.redisSlab">
<insert id="insertSelective" parameterType="com.fedex.connect.common.model.sys.RedisSlab">
<selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
SELECT SEQ_T_SYS_REDIS_SLAB.NEXTVAL FROM DUAL
</selectKey>
......@@ -194,7 +194,7 @@
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.fedex.connect.common.model.sys.redisSlabExample" resultType="java.lang.Long">
<select id="countByExample" parameterType="com.fedex.connect.common.model.sys.RedisSlabExample" resultType="java.lang.Long">
select count(*) from T_SYS_REDIS_SLAB
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
......@@ -258,7 +258,7 @@
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.sys.redisSlab">
<update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.sys.RedisSlab">
update T_SYS_REDIS_SLAB
<set>
<if test="redisKey != null">
......@@ -294,7 +294,7 @@
</set>
where ID = #{id,jdbcType=NUMERIC}
</update>
<update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.sys.redisSlab">
<update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.sys.RedisSlab">
update T_SYS_REDIS_SLAB
set REDIS_KEY = #{redisKey,jdbcType=VARCHAR},
REDIS_MSG = #{redisMsg,jdbcType=VARCHAR},
......
......@@ -7,7 +7,7 @@ import java.util.Date;
* DESC: 用户登录信息token表
* TABLE: T_SYS_REDIS_SLAB
*/
public class redisSlab implements Serializable {
public class RedisSlab implements Serializable {
/**
* ID,自动增加
*/
......
......@@ -4,7 +4,7 @@ import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class redisSlabExample {
public class RedisSlabExample {
protected String orderByClause;
protected boolean distinct;
......@@ -15,7 +15,7 @@ public class redisSlabExample {
protected Integer limitSize;
public redisSlabExample() {
public RedisSlabExample() {
oredCriteria = new ArrayList<Criteria>();
}
......