|
|
@@ -1,7 +1,7 @@
|
|
|
<?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.usoftchina.saas.operation.mapper.CustomerfedbackMapper" >
|
|
|
- <resultMap id="BaseResultMap" type="com.usoftchina.saas.operation.po.CustomerFedBack" >
|
|
|
+<mapper namespace="com.usoftchina.saas.operation.mapper.CustomerfeedbackMapper" >
|
|
|
+ <resultMap id="BaseResultMap" type="com.usoftchina.saas.operation.po.CustomerFeedBack" >
|
|
|
<id column="cf_id" property="cf_id" jdbcType="INTEGER" />
|
|
|
<result column="cf_creator" property="cf_creator" jdbcType="VARCHAR" />
|
|
|
<result column="cf_creatime" property="cf_creatime" jdbcType="TIMESTAMP" />
|
|
|
@@ -26,7 +26,7 @@
|
|
|
delete from customerfedback
|
|
|
where cf_id = #{cf_id,jdbcType=INTEGER}
|
|
|
</delete>
|
|
|
- <insert id="insert" parameterType="com.usoftchina.saas.operation.po.CustomerFedBack" >
|
|
|
+ <insert id="insert" parameterType="com.usoftchina.saas.operation.po.CustomerFeedBack" >
|
|
|
insert into customerfedback (cf_id, cf_creator, cf_creatime,
|
|
|
cf_creatorid, cf_content, cf_status,
|
|
|
cf_companyid, cf_company, cf_remark
|
|
|
@@ -36,11 +36,11 @@
|
|
|
#{cf_companyid,jdbcType=INTEGER}, #{cf_company,jdbcType=VARCHAR}, #{cf_remark,jdbcType=VARCHAR}
|
|
|
)
|
|
|
</insert>
|
|
|
- <insert id="insertSelective" parameterType="com.usoftchina.saas.operation.po.CustomerFedBack" >
|
|
|
+ <insert id="insertSelective" parameterType="com.usoftchina.saas.operation.po.CustomerFeedBack" >
|
|
|
<selectKey resultType="java.lang.Long" keyProperty="cf_id">
|
|
|
SELECT LAST_INSERT_ID() AS cf_id
|
|
|
</selectKey>
|
|
|
- insert into customerfedback
|
|
|
+ insert into saas_manage.customerfedback
|
|
|
<trim prefix="(" suffix=")" suffixOverrides="," >
|
|
|
<if test="cf_creator != null" >
|
|
|
cf_creator,
|
|
|
@@ -94,7 +94,7 @@
|
|
|
</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
- <update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.operation.po.CustomerFedBack" >
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.operation.po.CustomerFeedBack" >
|
|
|
update customerfedback
|
|
|
<set >
|
|
|
<if test="cf_creator != null" >
|
|
|
@@ -124,7 +124,7 @@
|
|
|
</set>
|
|
|
where cf_id = #{cf_id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
- <update id="updateByPrimaryKey" parameterType="com.usoftchina.saas.operation.po.CustomerFedBack" >
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.usoftchina.saas.operation.po.CustomerFeedBack" >
|
|
|
update customerfedback
|
|
|
set cf_creator = #{cf_creator,jdbcType=VARCHAR},
|
|
|
cf_creatime = #{cf_creatime,jdbcType=TIMESTAMP},
|
|
|
@@ -136,4 +136,7 @@
|
|
|
cf_remark = #{cf_remark,jdbcType=VARCHAR}
|
|
|
where cf_id = #{cf_id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
+ <select id="selectByCondition" parameterType="string" resultMap="BaseResultMap">
|
|
|
+ select * from saas_manage.customerfedback where #{con}
|
|
|
+ </select>
|
|
|
</mapper>
|