|
@@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
<mapper namespace="com.ruoyi.organization.mapper.YljgsqJcxxMapper">
|
|
|
|
|
|
- <resultMap type="com.ruoyi.organization.domain.YljgsqJcxx" id="YljgsqJcxxResult">
|
|
|
+ <resultMap type="YljgsqJcxx" id="YljgsqJcxxResult">
|
|
|
<result property="id" column="id" />
|
|
|
<result property="zzjgdm" column="zzjgdm" />
|
|
|
<result property="tyshxydm" column="tyshxydm" />
|
|
@@ -118,7 +118,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
from yljgsq_jcxx
|
|
|
</sql>
|
|
|
|
|
|
- <select id="selectYljgsqJcxxList" parameterType="com.ruoyi.organization.domain.YljgsqJcxx" resultMap="YljgsqJcxxResult">
|
|
|
+ <select id="selectYljgsqJcxxList" parameterType="YljgsqJcxx" resultMap="YljgsqJcxxResult">
|
|
|
<include refid="selectYljgsqJcxxVo"/>
|
|
|
<where>
|
|
|
<if test="xzqhId != null and xzqhId != ''"> and szxzqh like concat( #{xzqhId}, '%')</if>
|
|
@@ -176,7 +176,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
where id = #{id}
|
|
|
</select>
|
|
|
|
|
|
- <insert id="insertYljgsqJcxx" parameterType="com.ruoyi.organization.domain.YljgsqJcxx">
|
|
|
+ <insert id="insertYljgsqJcxx" parameterType="YljgsqJcxx">
|
|
|
insert into yljgsq_jcxx
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">id,</if>
|
|
@@ -342,7 +342,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
- <update id="updateYljgsqJcxx" parameterType="com.ruoyi.organization.domain.YljgsqJcxx">
|
|
|
+ <update id="updateYljgsqJcxx" parameterType="YljgsqJcxx">
|
|
|
update yljgsq_jcxx
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
<if test="tyshxydm != null">tyshxydm = #{tyshxydm},</if>
|
|
@@ -426,7 +426,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
where id = #{id}
|
|
|
</update>
|
|
|
|
|
|
- <update id="updateYljgsqJcxxZH" parameterType="com.ruoyi.organization.domain.YljgsqJcxx">
|
|
|
+ <update id="updateYljgsqJcxxZH" parameterType="YljgsqJcxx">
|
|
|
update yljgsq_jcxx
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
<if test="tyshxydm != null">tyshxydm = #{tyshxydm},</if>
|
|
@@ -444,7 +444,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</update>
|
|
|
|
|
|
|
|
|
- <update id="updateYljgsqSczt" parameterType="com.ruoyi.organization.domain.YljgsqJcxx">
|
|
|
+ <update id="updateYljgsqSczt" parameterType="YljgsqJcxx">
|
|
|
update yljgsq_jcxx SET sczt = #{sczt}
|
|
|
where id = #{id}
|
|
|
</update>
|
|
@@ -469,7 +469,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
SELECT COUNT(*) FROM yljgsq_jcxx
|
|
|
</select>
|
|
|
|
|
|
- <select id="selectSqYljgZhxxList" parameterType="com.ruoyi.organization.domain.YljgsqJcxx" resultType="java.util.HashMap">
|
|
|
+ <select id="selectSqYljgZhxxList" parameterType="YljgsqJcxx" resultType="java.util.HashMap">
|
|
|
SELECT
|
|
|
a.id, a.tyshxydm, a.jgmc, a.ssxzqh, a.frxm, a.frlxfs, a.create_unit,
|
|
|
CASE WHEN b.user_id IS NULL THEN '02' WHEN a.sczt = '07' THEN '03' WHEN a.sczt in('01','04','05','06') THEN '01' END AS `status`,
|
|
@@ -506,7 +506,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
where a.id = #{id}
|
|
|
</select>
|
|
|
|
|
|
- <update id="updateYljgSqJcxxZtById" parameterType="com.ruoyi.organization.domain.YljgsqJcxx">
|
|
|
+ <update id="updateYljgSqJcxxZtById" parameterType="YljgsqJcxx">
|
|
|
update yljgsq_jcxx
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
<if test="sczt != null and sczt != ''">sczt = #{sczt},</if>
|
|
@@ -522,7 +522,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
where id = #{id}
|
|
|
</update>
|
|
|
|
|
|
- <select id="selectJgByXydm" parameterType="com.ruoyi.organization.domain.YljgsqJcxx" resultMap="YljgsqJcxxResult">
|
|
|
+ <select id="selectJgByXydm" parameterType="YljgsqJcxx" resultMap="YljgsqJcxxResult">
|
|
|
SELECT
|
|
|
*
|
|
|
FROM
|