소스 검색

公出审核BUG修复

anderx 8 달 전
부모
커밋
01245f8a19

+ 2 - 1
src/main/java/com/goafanti/common/mapper/UserInterviewProjectMapper.xml

@@ -101,6 +101,7 @@
         <result property="uid" column="uid" jdbcType="VARCHAR"/>
         <result property="aid" column="aid" jdbcType="VARCHAR"/>
         <result property="pid" column="pid" jdbcType="VARCHAR"/>
+        <result property="type" column="type" jdbcType="INTEGER"/>
         <result property="examineStatus" column="examine_status" jdbcType="INTEGER"/>
         <result property="examineStatusOther" column="examine_status_other" jdbcType="VARCHAR"/>
         <result property="buyStatus" column="buy_status" jdbcType="INTEGER"/>
@@ -191,7 +192,7 @@
 
     <select id="selectByAid" resultMap="ListMap">
         select
-            a.id, a.uid, a.aid, a.pid, a.examine_status, a.examine_status_other, a.buy_status, a.buy_status_other,
+            a.id, a.uid, a.aid, a.pid, a.examine_status, a.examine_status_other, a.buy_status, a.buy_status_other,a.type,
             b.bname name
         from user_interview_project a left join business_project b on a.pid=b.id
         <where>

+ 1 - 1
src/main/java/com/goafanti/common/mapper/UserSuperEvaluateMapper.xml

@@ -85,7 +85,7 @@
         values (#{uid}, #{aid}, #{content}, #{createTime}, #{type})
     </insert>
 
-    <insert id="insertBatch" keyProperty="id" useGeneratedKeys="true">
+    <insert id="insertBatch">
         insert into user_super_evaluate(uid, aid, content, create_time, type)
         values
         <foreach collection="entities" item="entity" separator=",">