|
@@ -27,12 +27,14 @@
|
|
|
<result column="contractSuc" property="contractSuc" jdbcType="INTEGER" />
|
|
|
<result column="base64Str" property="base64Str" jdbcType="VARCHAR" />
|
|
|
<result column="contrantNum" property="contrantNum" jdbcType="VARCHAR" />
|
|
|
+ <result column="lowerFileName" property="lowerFileName" jdbcType="VARCHAR" />
|
|
|
+ <result column="lowerBase64Str" property="lowerBase64Str" jdbcType="VARCHAR" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List" >
|
|
|
id, customerName,company_leader, company_leader_Phone, company_name, company_referenceNum, company_openbank,
|
|
|
company_openbank_acc, company_adress, company_phone, createTime, company_belong_name,
|
|
|
rec_status, inter_type,bussiness_type,company_type,operating_rangeType,company_num,service_startTime
|
|
|
- ,service_endTime,service_type,contractFileName,contractSuc,contrantNum
|
|
|
+ ,service_endTime,service_type,contractFileName,contractSuc,contrantNum,lowerFileName
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectAllByPage" resultMap="BaseResultMap">
|
|
@@ -48,7 +50,7 @@
|
|
|
</select>
|
|
|
<select id="selectByPrimaryKeyHasBase64" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
|
|
|
select
|
|
|
- <include refid="Base_Column_List" />,base64Str
|
|
|
+ <include refid="Base_Column_List" />,base64Str,lowerBase64Str
|
|
|
from t_customer_rec
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</select>
|
|
@@ -80,14 +82,14 @@
|
|
|
company_openbank_acc, company_adress, company_phone,
|
|
|
createTime, company_belong_name, rec_status,
|
|
|
inter_type,bussiness_type,company_type,operating_rangeType,company_num,
|
|
|
- service_startTime,service_endTime,service_type,contractFileName,base64Str,contractSuc
|
|
|
+ service_startTime,service_endTime,service_type,contractFileName,base64Str,contractSuc,lowerFileName,lowerBase64Str
|
|
|
)
|
|
|
values (#{customerName,jdbcType=VARCHAR}, #{companyLeader,jdbcType=VARCHAR}, #{companyLeaderPhone,jdbcType=VARCHAR},
|
|
|
#{companyName,jdbcType=VARCHAR}, #{companyReferencenum,jdbcType=VARCHAR}, #{companyOpenbank,jdbcType=VARCHAR},
|
|
|
#{companyOpenbankAcc,jdbcType=VARCHAR}, #{companyAdress,jdbcType=VARCHAR}, #{companyPhone,jdbcType=VARCHAR},
|
|
|
#{createtime,jdbcType=TIMESTAMP}, #{companyBelongName,jdbcType=VARCHAR}, #{recStatus,jdbcType=INTEGER},
|
|
|
#{interType,jdbcType=INTEGER}, #{bussinessType,jdbcType=INTEGER},#{companyType,jdbcType=INTEGER},#{operatingRangeType,jdbcType=INTEGER},#{companyNum,jdbcType=VARCHAR},
|
|
|
- #{serviceStartTime,jdbcType=VARCHAR},#{serviceEndTime,jdbcType=VARCHAR},#{serviceType,jdbcType=INTEGER},#{contractFileName,jdbcType=VARCHAR},#{base64Str,jdbcType=VARCHAR},#{contractSuc,jdbcType=INTEGER}
|
|
|
+ #{serviceStartTime,jdbcType=VARCHAR},#{serviceEndTime,jdbcType=VARCHAR},#{serviceType,jdbcType=INTEGER},#{contractFileName,jdbcType=VARCHAR},#{base64Str,jdbcType=VARCHAR},#{contractSuc,jdbcType=INTEGER},#{lowerFileName,jdbcType=VARCHAR},#{lowerBase64Str,jdbcType=VARCHAR}
|
|
|
)
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.jkcredit.invoice.model.entity.customer.CustomerRec" >
|