|
@@ -52,7 +52,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<include refid="selectKaoqinConfigVo"/>
|
|
|
where kaoqin_id = #{kaoqinId}
|
|
|
</select>
|
|
|
-
|
|
|
+ <select id="selectKaoqinConfigByDeptId" parameterType="KaoqinConfig" resultMap="KaoqinConfigResult">
|
|
|
+ <include refid="selectKaoqinConfigVo"/>
|
|
|
+ <where>
|
|
|
+ <if test="deptId != null and deptId != ''"> and dept_id = #{deptId}</if>
|
|
|
+ </where>
|
|
|
+ </select>
|
|
|
+
|
|
|
<insert id="insertKaoqinConfig" parameterType="KaoqinConfig" useGeneratedKeys="true" keyProperty="kaoqinId">
|
|
|
insert into kaoqin_config
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|