|
|
@@ -32,7 +32,7 @@
|
|
|
,#{name,jdbcType=VARCHAR}
|
|
|
,#{parentId,jdbcType=VARCHAR}
|
|
|
,#{sortNo,jdbcType= NUMERIC }
|
|
|
-,#{code,jdbcType= NUMERIC }
|
|
|
+,#{code,jdbcType= VARCHAR }
|
|
|
,#{quickLog,jdbcType=VARCHAR}
|
|
|
,#{createBy,jdbcType=VARCHAR}
|
|
|
,#{createTime,jdbcType= TIMESTAMP }
|
|
|
@@ -59,7 +59,7 @@
|
|
|
sort_no=#{sortNo,jdbcType= NUMERIC },
|
|
|
</if>
|
|
|
<if test="code!=null">
|
|
|
- code_=#{code,jdbcType= NUMERIC },
|
|
|
+ code_=#{code,jdbcType= VARCHAR },
|
|
|
</if>
|
|
|
<if test="quickLog!=null">
|
|
|
quick_log=#{quickLog,jdbcType=VARCHAR},
|
|
|
@@ -86,8 +86,7 @@
|
|
|
where id_=#{id}
|
|
|
</update>
|
|
|
<select id="get" parameterType="string" resultMap="WorkCategoryMap">
|
|
|
- select
|
|
|
-id_,name_,parent_id,sort_no,code_,quick_log,create_by,create_time,update_by,update_time,del_flag,level_ from job_work_category where id_=#{0}
|
|
|
+ select * from job_work_category where id_=#{0}
|
|
|
</select>
|
|
|
<select id="exist" parameterType="string" resultType="int">
|
|
|
select count(*) from job_work_category where id_=#{0}
|