|
|
@@ -1,47 +1,48 @@
|
|
|
<?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">
|
|
|
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
<mapper namespace="com.railway.business.bi.mapper.ShowSbxjMapper">
|
|
|
|
|
|
- <resultMap id="BaseResultMap" type="com.railway.business.bi.domain.ShowSbxj">
|
|
|
- <result column="id" property="id"/>
|
|
|
- <result column="dept_name" property="deptName"/>
|
|
|
- <result column="team_name" property="teamName"/>
|
|
|
- <result column="xjdy" property="xjdy"/>
|
|
|
- <result column="xb" property="xb"/>
|
|
|
- <result column="pds" property="pds"/>
|
|
|
- <result column="bds" property="bds"/>
|
|
|
- <result column="sdxl" property="sdxl"/>
|
|
|
- <result column="qybds" property="qybds"/>
|
|
|
- <result column="atfqs" property="atfqs"/>
|
|
|
- <result column="plan1" property="plan1"/>
|
|
|
- <result column="actual1" property="actual1"/>
|
|
|
- <result column="plan2" property="plan2"/>
|
|
|
- <result column="actual2" property="actual2"/>
|
|
|
- <result column="plan3" property="plan3"/>
|
|
|
- <result column="actual3" property="actual3"/>
|
|
|
- <result column="plan4" property="plan4"/>
|
|
|
- <result column="actual4" property="actual4"/>
|
|
|
- <result column="plan5" property="plan5"/>
|
|
|
- <result column="actual5" property="actual5"/>
|
|
|
- <result column="plan6" property="plan6"/>
|
|
|
- <result column="actual6" property="actual6"/>
|
|
|
- <result column="plan7" property="plan7"/>
|
|
|
- <result column="actual7" property="actual7"/>
|
|
|
- <result column="plan8" property="plan8"/>
|
|
|
- <result column="actual8" property="actual8"/>
|
|
|
- <result column="plan9" property="plan9"/>
|
|
|
- <result column="actual9" property="actual9"/>
|
|
|
- <result column="plan10" property="plan10"/>
|
|
|
- <result column="actual10" property="actual10"/>
|
|
|
- <result column="plan11" property="plan11"/>
|
|
|
- <result column="actual11" property="actual11"/>
|
|
|
- <result column="plan12" property="plan12"/>
|
|
|
- <result column="actual12" property="actual12"/>
|
|
|
- </resultMap>
|
|
|
+ <resultMap id="BaseResultMap" type="com.railway.business.bi.domain.ShowSbxj">
|
|
|
+ <result column="id" property="id"/>
|
|
|
+ <result column="dept_name" property="deptName"/>
|
|
|
+ <result column="team_name" property="teamName"/>
|
|
|
+ <result column="xjdy" property="xjdy"/>
|
|
|
+ <result column="xb" property="xb"/>
|
|
|
+ <result column="pds" property="pds"/>
|
|
|
+ <result column="bds" property="bds"/>
|
|
|
+ <result column="sdxl" property="sdxl"/>
|
|
|
+ <result column="qybds" property="qybds"/>
|
|
|
+ <result column="atfqs" property="atfqs"/>
|
|
|
+ <result column="plan1" property="plan1"/>
|
|
|
+ <result column="actual1" property="actual1"/>
|
|
|
+ <result column="plan2" property="plan2"/>
|
|
|
+ <result column="actual2" property="actual2"/>
|
|
|
+ <result column="plan3" property="plan3"/>
|
|
|
+ <result column="actual3" property="actual3"/>
|
|
|
+ <result column="plan4" property="plan4"/>
|
|
|
+ <result column="actual4" property="actual4"/>
|
|
|
+ <result column="plan5" property="plan5"/>
|
|
|
+ <result column="actual5" property="actual5"/>
|
|
|
+ <result column="plan6" property="plan6"/>
|
|
|
+ <result column="actual6" property="actual6"/>
|
|
|
+ <result column="plan7" property="plan7"/>
|
|
|
+ <result column="actual7" property="actual7"/>
|
|
|
+ <result column="plan8" property="plan8"/>
|
|
|
+ <result column="actual8" property="actual8"/>
|
|
|
+ <result column="plan9" property="plan9"/>
|
|
|
+ <result column="actual9" property="actual9"/>
|
|
|
+ <result column="plan10" property="plan10"/>
|
|
|
+ <result column="actual10" property="actual10"/>
|
|
|
+ <result column="plan11" property="plan11"/>
|
|
|
+ <result column="actual11" property="actual11"/>
|
|
|
+ <result column="plan12" property="plan12"/>
|
|
|
+ <result column="actual12" property="actual12"/>
|
|
|
+ </resultMap>
|
|
|
|
|
|
- <sql id="Base_Column_List">
|
|
|
- id,
|
|
|
+ <sql id="Base_Column_List">
|
|
|
+ id
|
|
|
+ ,
|
|
|
dept_name,
|
|
|
team_name,
|
|
|
xjdy,
|
|
|
@@ -75,378 +76,378 @@
|
|
|
actual11,
|
|
|
plan12,
|
|
|
actual12
|
|
|
- </sql>
|
|
|
+ </sql>
|
|
|
|
|
|
- <insert id="insert" parameterType="com.railway.business.bi.domain.ShowSbxj">
|
|
|
- <selectKey keyProperty="id" order="BEFORE" resultType="String">
|
|
|
- select replace(uuid(), '-', '') from dual
|
|
|
- </selectKey>
|
|
|
- INSERT INTO show_sbxj
|
|
|
- <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
- <if test ='null != deptName'>
|
|
|
- dept_name,
|
|
|
- </if>
|
|
|
- <if test ='null != teamName'>
|
|
|
- team_name,
|
|
|
- </if>
|
|
|
- <if test ='null != xjdy'>
|
|
|
- xjdy,
|
|
|
- </if>
|
|
|
- <if test ='null != xb'>
|
|
|
- xb,
|
|
|
- </if>
|
|
|
- <if test ='null != pds'>
|
|
|
- pds,
|
|
|
- </if>
|
|
|
- <if test ='null != bds'>
|
|
|
- bds,
|
|
|
- </if>
|
|
|
- <if test ='null != sdxl'>
|
|
|
- sdxl,
|
|
|
- </if>
|
|
|
- <if test ='null != qybds'>
|
|
|
- qybds,
|
|
|
- </if>
|
|
|
- <if test ='null != atfqs'>
|
|
|
- atfqs,
|
|
|
- </if>
|
|
|
- <if test ='null != plan1'>
|
|
|
- plan1,
|
|
|
- </if>
|
|
|
- <if test ='null != actual1'>
|
|
|
- actual1,
|
|
|
- </if>
|
|
|
- <if test ='null != plan2'>
|
|
|
- plan2,
|
|
|
- </if>
|
|
|
- <if test ='null != actual2'>
|
|
|
- actual2,
|
|
|
- </if>
|
|
|
- <if test ='null != plan3'>
|
|
|
- plan3,
|
|
|
- </if>
|
|
|
- <if test ='null != actual3'>
|
|
|
- actual3,
|
|
|
- </if>
|
|
|
- <if test ='null != plan4'>
|
|
|
- plan4,
|
|
|
- </if>
|
|
|
- <if test ='null != actual4'>
|
|
|
- actual4,
|
|
|
- </if>
|
|
|
- <if test ='null != plan5'>
|
|
|
- plan5,
|
|
|
- </if>
|
|
|
- <if test ='null != actual5'>
|
|
|
- actual5,
|
|
|
- </if>
|
|
|
- <if test ='null != plan6'>
|
|
|
- plan6,
|
|
|
- </if>
|
|
|
- <if test ='null != actual6'>
|
|
|
- actual6,
|
|
|
- </if>
|
|
|
- <if test ='null != plan7'>
|
|
|
- plan7,
|
|
|
- </if>
|
|
|
- <if test ='null != actual7'>
|
|
|
- actual7,
|
|
|
- </if>
|
|
|
- <if test ='null != plan8'>
|
|
|
- plan8,
|
|
|
- </if>
|
|
|
- <if test ='null != actual8'>
|
|
|
- actual8,
|
|
|
- </if>
|
|
|
- <if test ='null != plan9'>
|
|
|
- plan9,
|
|
|
- </if>
|
|
|
- <if test ='null != actual9'>
|
|
|
- actual9,
|
|
|
- </if>
|
|
|
- <if test ='null != plan10'>
|
|
|
- plan10,
|
|
|
- </if>
|
|
|
- <if test ='null != actual10'>
|
|
|
- actual10,
|
|
|
- </if>
|
|
|
- <if test ='null != plan11'>
|
|
|
- plan11,
|
|
|
- </if>
|
|
|
- <if test ='null != actual11'>
|
|
|
- actual11,
|
|
|
- </if>
|
|
|
- <if test ='null != plan12'>
|
|
|
- plan12,
|
|
|
- </if>
|
|
|
- <if test ='null != actual12'>
|
|
|
- actual12
|
|
|
- </if>
|
|
|
- </trim>
|
|
|
- <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
- <if test ='null != deptName'>
|
|
|
- #{deptName},
|
|
|
- </if>
|
|
|
- <if test ='null != teamName'>
|
|
|
- #{teamName},
|
|
|
- </if>
|
|
|
- <if test ='null != xjdy'>
|
|
|
- #{xjdy},
|
|
|
- </if>
|
|
|
- <if test ='null != xb'>
|
|
|
- #{xb},
|
|
|
- </if>
|
|
|
- <if test ='null != pds'>
|
|
|
- #{pds},
|
|
|
- </if>
|
|
|
- <if test ='null != bds'>
|
|
|
- #{bds},
|
|
|
- </if>
|
|
|
- <if test ='null != sdxl'>
|
|
|
- #{sdxl},
|
|
|
- </if>
|
|
|
- <if test ='null != qybds'>
|
|
|
- #{qybds},
|
|
|
- </if>
|
|
|
- <if test ='null != atfqs'>
|
|
|
- #{atfqs},
|
|
|
- </if>
|
|
|
- <if test ='null != plan1'>
|
|
|
- #{plan1},
|
|
|
- </if>
|
|
|
- <if test ='null != actual1'>
|
|
|
- #{actual1},
|
|
|
- </if>
|
|
|
- <if test ='null != plan2'>
|
|
|
- #{plan2},
|
|
|
- </if>
|
|
|
- <if test ='null != actual2'>
|
|
|
- #{actual2},
|
|
|
- </if>
|
|
|
- <if test ='null != plan3'>
|
|
|
- #{plan3},
|
|
|
- </if>
|
|
|
- <if test ='null != actual3'>
|
|
|
- #{actual3},
|
|
|
- </if>
|
|
|
- <if test ='null != plan4'>
|
|
|
- #{plan4},
|
|
|
- </if>
|
|
|
- <if test ='null != actual4'>
|
|
|
- #{actual4},
|
|
|
- </if>
|
|
|
- <if test ='null != plan5'>
|
|
|
- #{plan5},
|
|
|
- </if>
|
|
|
- <if test ='null != actual5'>
|
|
|
- #{actual5},
|
|
|
- </if>
|
|
|
- <if test ='null != plan6'>
|
|
|
- #{plan6},
|
|
|
- </if>
|
|
|
- <if test ='null != actual6'>
|
|
|
- #{actual6},
|
|
|
- </if>
|
|
|
- <if test ='null != plan7'>
|
|
|
- #{plan7},
|
|
|
- </if>
|
|
|
- <if test ='null != actual7'>
|
|
|
- #{actual7},
|
|
|
- </if>
|
|
|
- <if test ='null != plan8'>
|
|
|
- #{plan8},
|
|
|
- </if>
|
|
|
- <if test ='null != actual8'>
|
|
|
- #{actual8},
|
|
|
- </if>
|
|
|
- <if test ='null != plan9'>
|
|
|
- #{plan9},
|
|
|
- </if>
|
|
|
- <if test ='null != actual9'>
|
|
|
- #{actual9},
|
|
|
- </if>
|
|
|
- <if test ='null != plan10'>
|
|
|
- #{plan10},
|
|
|
- </if>
|
|
|
- <if test ='null != actual10'>
|
|
|
- #{actual10},
|
|
|
- </if>
|
|
|
- <if test ='null != plan11'>
|
|
|
- #{plan11},
|
|
|
- </if>
|
|
|
- <if test ='null != actual11'>
|
|
|
- #{actual11},
|
|
|
- </if>
|
|
|
- <if test ='null != plan12'>
|
|
|
- #{plan12},
|
|
|
- </if>
|
|
|
- <if test ='null != actual12'>
|
|
|
- #{actual12}
|
|
|
- </if>
|
|
|
- </trim>
|
|
|
- </insert>
|
|
|
+ <insert id="insert" parameterType="com.railway.business.bi.domain.ShowSbxj">
|
|
|
+ <selectKey keyProperty="id" order="BEFORE" resultType="String">
|
|
|
+ select replace(uuid(), '-', '') from dual
|
|
|
+ </selectKey>
|
|
|
+ INSERT INTO show_sbxj
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test='null != deptName'>
|
|
|
+ dept_name,
|
|
|
+ </if>
|
|
|
+ <if test='null != teamName'>
|
|
|
+ team_name,
|
|
|
+ </if>
|
|
|
+ <if test='null != xjdy'>
|
|
|
+ xjdy,
|
|
|
+ </if>
|
|
|
+ <if test='null != xb'>
|
|
|
+ xb,
|
|
|
+ </if>
|
|
|
+ <if test='null != pds'>
|
|
|
+ pds,
|
|
|
+ </if>
|
|
|
+ <if test='null != bds'>
|
|
|
+ bds,
|
|
|
+ </if>
|
|
|
+ <if test='null != sdxl'>
|
|
|
+ sdxl,
|
|
|
+ </if>
|
|
|
+ <if test='null != qybds'>
|
|
|
+ qybds,
|
|
|
+ </if>
|
|
|
+ <if test='null != atfqs'>
|
|
|
+ atfqs,
|
|
|
+ </if>
|
|
|
+ <if test='null != plan1'>
|
|
|
+ plan1,
|
|
|
+ </if>
|
|
|
+ <if test='null != actual1'>
|
|
|
+ actual1,
|
|
|
+ </if>
|
|
|
+ <if test='null != plan2'>
|
|
|
+ plan2,
|
|
|
+ </if>
|
|
|
+ <if test='null != actual2'>
|
|
|
+ actual2,
|
|
|
+ </if>
|
|
|
+ <if test='null != plan3'>
|
|
|
+ plan3,
|
|
|
+ </if>
|
|
|
+ <if test='null != actual3'>
|
|
|
+ actual3,
|
|
|
+ </if>
|
|
|
+ <if test='null != plan4'>
|
|
|
+ plan4,
|
|
|
+ </if>
|
|
|
+ <if test='null != actual4'>
|
|
|
+ actual4,
|
|
|
+ </if>
|
|
|
+ <if test='null != plan5'>
|
|
|
+ plan5,
|
|
|
+ </if>
|
|
|
+ <if test='null != actual5'>
|
|
|
+ actual5,
|
|
|
+ </if>
|
|
|
+ <if test='null != plan6'>
|
|
|
+ plan6,
|
|
|
+ </if>
|
|
|
+ <if test='null != actual6'>
|
|
|
+ actual6,
|
|
|
+ </if>
|
|
|
+ <if test='null != plan7'>
|
|
|
+ plan7,
|
|
|
+ </if>
|
|
|
+ <if test='null != actual7'>
|
|
|
+ actual7,
|
|
|
+ </if>
|
|
|
+ <if test='null != plan8'>
|
|
|
+ plan8,
|
|
|
+ </if>
|
|
|
+ <if test='null != actual8'>
|
|
|
+ actual8,
|
|
|
+ </if>
|
|
|
+ <if test='null != plan9'>
|
|
|
+ plan9,
|
|
|
+ </if>
|
|
|
+ <if test='null != actual9'>
|
|
|
+ actual9,
|
|
|
+ </if>
|
|
|
+ <if test='null != plan10'>
|
|
|
+ plan10,
|
|
|
+ </if>
|
|
|
+ <if test='null != actual10'>
|
|
|
+ actual10,
|
|
|
+ </if>
|
|
|
+ <if test='null != plan11'>
|
|
|
+ plan11,
|
|
|
+ </if>
|
|
|
+ <if test='null != actual11'>
|
|
|
+ actual11,
|
|
|
+ </if>
|
|
|
+ <if test='null != plan12'>
|
|
|
+ plan12,
|
|
|
+ </if>
|
|
|
+ <if test='null != actual12'>
|
|
|
+ actual12
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test='null != deptName'>
|
|
|
+ #{deptName},
|
|
|
+ </if>
|
|
|
+ <if test='null != teamName'>
|
|
|
+ #{teamName},
|
|
|
+ </if>
|
|
|
+ <if test='null != xjdy'>
|
|
|
+ #{xjdy},
|
|
|
+ </if>
|
|
|
+ <if test='null != xb'>
|
|
|
+ #{xb},
|
|
|
+ </if>
|
|
|
+ <if test='null != pds'>
|
|
|
+ #{pds},
|
|
|
+ </if>
|
|
|
+ <if test='null != bds'>
|
|
|
+ #{bds},
|
|
|
+ </if>
|
|
|
+ <if test='null != sdxl'>
|
|
|
+ #{sdxl},
|
|
|
+ </if>
|
|
|
+ <if test='null != qybds'>
|
|
|
+ #{qybds},
|
|
|
+ </if>
|
|
|
+ <if test='null != atfqs'>
|
|
|
+ #{atfqs},
|
|
|
+ </if>
|
|
|
+ <if test='null != plan1'>
|
|
|
+ #{plan1},
|
|
|
+ </if>
|
|
|
+ <if test='null != actual1'>
|
|
|
+ #{actual1},
|
|
|
+ </if>
|
|
|
+ <if test='null != plan2'>
|
|
|
+ #{plan2},
|
|
|
+ </if>
|
|
|
+ <if test='null != actual2'>
|
|
|
+ #{actual2},
|
|
|
+ </if>
|
|
|
+ <if test='null != plan3'>
|
|
|
+ #{plan3},
|
|
|
+ </if>
|
|
|
+ <if test='null != actual3'>
|
|
|
+ #{actual3},
|
|
|
+ </if>
|
|
|
+ <if test='null != plan4'>
|
|
|
+ #{plan4},
|
|
|
+ </if>
|
|
|
+ <if test='null != actual4'>
|
|
|
+ #{actual4},
|
|
|
+ </if>
|
|
|
+ <if test='null != plan5'>
|
|
|
+ #{plan5},
|
|
|
+ </if>
|
|
|
+ <if test='null != actual5'>
|
|
|
+ #{actual5},
|
|
|
+ </if>
|
|
|
+ <if test='null != plan6'>
|
|
|
+ #{plan6},
|
|
|
+ </if>
|
|
|
+ <if test='null != actual6'>
|
|
|
+ #{actual6},
|
|
|
+ </if>
|
|
|
+ <if test='null != plan7'>
|
|
|
+ #{plan7},
|
|
|
+ </if>
|
|
|
+ <if test='null != actual7'>
|
|
|
+ #{actual7},
|
|
|
+ </if>
|
|
|
+ <if test='null != plan8'>
|
|
|
+ #{plan8},
|
|
|
+ </if>
|
|
|
+ <if test='null != actual8'>
|
|
|
+ #{actual8},
|
|
|
+ </if>
|
|
|
+ <if test='null != plan9'>
|
|
|
+ #{plan9},
|
|
|
+ </if>
|
|
|
+ <if test='null != actual9'>
|
|
|
+ #{actual9},
|
|
|
+ </if>
|
|
|
+ <if test='null != plan10'>
|
|
|
+ #{plan10},
|
|
|
+ </if>
|
|
|
+ <if test='null != actual10'>
|
|
|
+ #{actual10},
|
|
|
+ </if>
|
|
|
+ <if test='null != plan11'>
|
|
|
+ #{plan11},
|
|
|
+ </if>
|
|
|
+ <if test='null != actual11'>
|
|
|
+ #{actual11},
|
|
|
+ </if>
|
|
|
+ <if test='null != plan12'>
|
|
|
+ #{plan12},
|
|
|
+ </if>
|
|
|
+ <if test='null != actual12'>
|
|
|
+ #{actual12}
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
|
|
|
- <delete id="delete">
|
|
|
- UPDATE show_sbxj
|
|
|
- set del_flag='1'
|
|
|
- WHERE id = #{id}
|
|
|
- </delete>
|
|
|
+ <delete id="delete">
|
|
|
+ UPDATE show_sbxj
|
|
|
+ set del_flag='1'
|
|
|
+ WHERE id = #{id}
|
|
|
+ </delete>
|
|
|
|
|
|
- <update id="update" parameterType="com.railway.business.bi.domain.ShowSbxj">
|
|
|
- UPDATE show_sbxj
|
|
|
- <set>
|
|
|
- <if test ='null != deptName'>dept_name = #{deptName},</if>
|
|
|
- <if test ='null != teamName'>team_name = #{teamName},</if>
|
|
|
- <if test ='null != xjdy'>xjdy = #{xjdy},</if>
|
|
|
- <if test ='null != xb'>xb = #{xb},</if>
|
|
|
- <if test ='null != pds'>pds = #{pds},</if>
|
|
|
- <if test ='null != bds'>bds = #{bds},</if>
|
|
|
- <if test ='null != sdxl'>sdxl = #{sdxl},</if>
|
|
|
- <if test ='null != qybds'>qybds = #{qybds},</if>
|
|
|
- <if test ='null != atfqs'>atfqs = #{atfqs},</if>
|
|
|
- <if test ='null != plan1'>plan1 = #{plan1},</if>
|
|
|
- <if test ='null != actual1'>actual1 = #{actual1},</if>
|
|
|
- <if test ='null != plan2'>plan2 = #{plan2},</if>
|
|
|
- <if test ='null != actual2'>actual2 = #{actual2},</if>
|
|
|
- <if test ='null != plan3'>plan3 = #{plan3},</if>
|
|
|
- <if test ='null != actual3'>actual3 = #{actual3},</if>
|
|
|
- <if test ='null != plan4'>plan4 = #{plan4},</if>
|
|
|
- <if test ='null != actual4'>actual4 = #{actual4},</if>
|
|
|
- <if test ='null != plan5'>plan5 = #{plan5},</if>
|
|
|
- <if test ='null != actual5'>actual5 = #{actual5},</if>
|
|
|
- <if test ='null != plan6'>plan6 = #{plan6},</if>
|
|
|
- <if test ='null != actual6'>actual6 = #{actual6},</if>
|
|
|
- <if test ='null != plan7'>plan7 = #{plan7},</if>
|
|
|
- <if test ='null != actual7'>actual7 = #{actual7},</if>
|
|
|
- <if test ='null != plan8'>plan8 = #{plan8},</if>
|
|
|
- <if test ='null != actual8'>actual8 = #{actual8},</if>
|
|
|
- <if test ='null != plan9'>plan9 = #{plan9},</if>
|
|
|
- <if test ='null != actual9'>actual9 = #{actual9},</if>
|
|
|
- <if test ='null != plan10'>plan10 = #{plan10},</if>
|
|
|
- <if test ='null != actual10'>actual10 = #{actual10},</if>
|
|
|
- <if test ='null != plan11'>plan11 = #{plan11},</if>
|
|
|
- <if test ='null != actual11'>actual11 = #{actual11},</if>
|
|
|
- <if test ='null != plan12'>plan12 = #{plan12},</if>
|
|
|
- <if test ='null != actual12'>actual12 = #{actual12}</if>
|
|
|
- </set>
|
|
|
- WHERE id = #{id}
|
|
|
- </update>
|
|
|
+ <update id="update" parameterType="com.railway.business.bi.domain.ShowSbxj">
|
|
|
+ UPDATE show_sbxj
|
|
|
+ <set>
|
|
|
+ <if test='null != deptName'>dept_name = #{deptName},</if>
|
|
|
+ <if test='null != teamName'>team_name = #{teamName},</if>
|
|
|
+ <if test='null != xjdy'>xjdy = #{xjdy},</if>
|
|
|
+ <if test='null != xb'>xb = #{xb},</if>
|
|
|
+ <if test='null != pds'>pds = #{pds},</if>
|
|
|
+ <if test='null != bds'>bds = #{bds},</if>
|
|
|
+ <if test='null != sdxl'>sdxl = #{sdxl},</if>
|
|
|
+ <if test='null != qybds'>qybds = #{qybds},</if>
|
|
|
+ <if test='null != atfqs'>atfqs = #{atfqs},</if>
|
|
|
+ <if test='null != plan1'>plan1 = #{plan1},</if>
|
|
|
+ <if test='null != actual1'>actual1 = #{actual1},</if>
|
|
|
+ <if test='null != plan2'>plan2 = #{plan2},</if>
|
|
|
+ <if test='null != actual2'>actual2 = #{actual2},</if>
|
|
|
+ <if test='null != plan3'>plan3 = #{plan3},</if>
|
|
|
+ <if test='null != actual3'>actual3 = #{actual3},</if>
|
|
|
+ <if test='null != plan4'>plan4 = #{plan4},</if>
|
|
|
+ <if test='null != actual4'>actual4 = #{actual4},</if>
|
|
|
+ <if test='null != plan5'>plan5 = #{plan5},</if>
|
|
|
+ <if test='null != actual5'>actual5 = #{actual5},</if>
|
|
|
+ <if test='null != plan6'>plan6 = #{plan6},</if>
|
|
|
+ <if test='null != actual6'>actual6 = #{actual6},</if>
|
|
|
+ <if test='null != plan7'>plan7 = #{plan7},</if>
|
|
|
+ <if test='null != actual7'>actual7 = #{actual7},</if>
|
|
|
+ <if test='null != plan8'>plan8 = #{plan8},</if>
|
|
|
+ <if test='null != actual8'>actual8 = #{actual8},</if>
|
|
|
+ <if test='null != plan9'>plan9 = #{plan9},</if>
|
|
|
+ <if test='null != actual9'>actual9 = #{actual9},</if>
|
|
|
+ <if test='null != plan10'>plan10 = #{plan10},</if>
|
|
|
+ <if test='null != actual10'>actual10 = #{actual10},</if>
|
|
|
+ <if test='null != plan11'>plan11 = #{plan11},</if>
|
|
|
+ <if test='null != actual11'>actual11 = #{actual11},</if>
|
|
|
+ <if test='null != plan12'>plan12 = #{plan12},</if>
|
|
|
+ <if test='null != actual12'>actual12 = #{actual12}</if>
|
|
|
+ </set>
|
|
|
+ WHERE id = #{id}
|
|
|
+ </update>
|
|
|
|
|
|
|
|
|
- <select id="getInfo" resultMap="BaseResultMap">
|
|
|
- SELECT
|
|
|
- <include refid="Base_Column_List"/>
|
|
|
- FROM show_sbxj
|
|
|
- WHERE del_flag='0' and id = #{id}
|
|
|
+ <select id="getInfo" resultMap="BaseResultMap">
|
|
|
+ SELECT
|
|
|
+ <include refid="Base_Column_List"/>
|
|
|
+ FROM show_sbxj
|
|
|
+ WHERE del_flag='0' and id = #{id}
|
|
|
|
|
|
- </select>
|
|
|
+ </select>
|
|
|
|
|
|
- <select id="getList" resultMap="BaseResultMap">
|
|
|
- SELECT
|
|
|
- <include refid="Base_Column_List"/>
|
|
|
- FROM show_sbxj
|
|
|
- <where>
|
|
|
- del_flag='0'
|
|
|
- <if test="deptName!=null and deptName!=''">
|
|
|
- and dept_name=#{deptName}
|
|
|
- </if>
|
|
|
- <if test="teamName!=null and teamName!=''">
|
|
|
- and team_name=#{teamName}
|
|
|
- </if>
|
|
|
- <if test="xjdy!=null and xjdy!=''">
|
|
|
- and xjdy=#{xjdy}
|
|
|
- </if>
|
|
|
- <if test="xb!=null and xb!=''">
|
|
|
- and xb=#{xb}
|
|
|
- </if>
|
|
|
- <if test="pds!=null and pds!=''">
|
|
|
- and pds=#{pds}
|
|
|
- </if>
|
|
|
- <if test="bds!=null and bds!=''">
|
|
|
- and bds=#{bds}
|
|
|
- </if>
|
|
|
- <if test="sdxl!=null and sdxl!=''">
|
|
|
- and sdxl=#{sdxl}
|
|
|
- </if>
|
|
|
- <if test="qybds!=null and qybds!=''">
|
|
|
- and qybds=#{qybds}
|
|
|
- </if>
|
|
|
- <if test="atfqs!=null and atfqs!=''">
|
|
|
- and atfqs=#{atfqs}
|
|
|
- </if>
|
|
|
- <if test="plan1!=null and plan1!=''">
|
|
|
- and plan1=#{plan1}
|
|
|
- </if>
|
|
|
- <if test="actual1!=null and actual1!=''">
|
|
|
- and actual1=#{actual1}
|
|
|
- </if>
|
|
|
- <if test="plan2!=null and plan2!=''">
|
|
|
- and plan2=#{plan2}
|
|
|
- </if>
|
|
|
- <if test="actual2!=null and actual2!=''">
|
|
|
- and actual2=#{actual2}
|
|
|
- </if>
|
|
|
- <if test="plan3!=null and plan3!=''">
|
|
|
- and plan3=#{plan3}
|
|
|
- </if>
|
|
|
- <if test="actual3!=null and actual3!=''">
|
|
|
- and actual3=#{actual3}
|
|
|
- </if>
|
|
|
- <if test="plan4!=null and plan4!=''">
|
|
|
- and plan4=#{plan4}
|
|
|
- </if>
|
|
|
- <if test="actual4!=null and actual4!=''">
|
|
|
- and actual4=#{actual4}
|
|
|
- </if>
|
|
|
- <if test="plan5!=null and plan5!=''">
|
|
|
- and plan5=#{plan5}
|
|
|
- </if>
|
|
|
- <if test="actual5!=null and actual5!=''">
|
|
|
- and actual5=#{actual5}
|
|
|
- </if>
|
|
|
- <if test="plan6!=null and plan6!=''">
|
|
|
- and plan6=#{plan6}
|
|
|
- </if>
|
|
|
- <if test="actual6!=null and actual6!=''">
|
|
|
- and actual6=#{actual6}
|
|
|
- </if>
|
|
|
- <if test="plan7!=null and plan7!=''">
|
|
|
- and plan7=#{plan7}
|
|
|
- </if>
|
|
|
- <if test="actual7!=null and actual7!=''">
|
|
|
- and actual7=#{actual7}
|
|
|
- </if>
|
|
|
- <if test="plan8!=null and plan8!=''">
|
|
|
- and plan8=#{plan8}
|
|
|
- </if>
|
|
|
- <if test="actual8!=null and actual8!=''">
|
|
|
- and actual8=#{actual8}
|
|
|
- </if>
|
|
|
- <if test="plan9!=null and plan9!=''">
|
|
|
- and plan9=#{plan9}
|
|
|
- </if>
|
|
|
- <if test="actual9!=null and actual9!=''">
|
|
|
- and actual9=#{actual9}
|
|
|
- </if>
|
|
|
- <if test="plan10!=null and plan10!=''">
|
|
|
- and plan10=#{plan10}
|
|
|
- </if>
|
|
|
- <if test="actual10!=null and actual10!=''">
|
|
|
- and actual10=#{actual10}
|
|
|
- </if>
|
|
|
- <if test="plan11!=null and plan11!=''">
|
|
|
- and plan11=#{plan11}
|
|
|
- </if>
|
|
|
- <if test="actual11!=null and actual11!=''">
|
|
|
- and actual11=#{actual11}
|
|
|
- </if>
|
|
|
- <if test="plan12!=null and plan12!=''">
|
|
|
- and plan12=#{plan12}
|
|
|
- </if>
|
|
|
- <if test="actual12!=null and actual12!=''">
|
|
|
- and actual12=#{actual12}
|
|
|
- </if>
|
|
|
- </where>
|
|
|
- </select>
|
|
|
+ <select id="getList" resultMap="BaseResultMap">
|
|
|
+ SELECT
|
|
|
+ <include refid="Base_Column_List"/>
|
|
|
+ FROM show_sbxj
|
|
|
+ <where>
|
|
|
+ del_flag='0'
|
|
|
+ <if test="deptName!=null and deptName!=''">
|
|
|
+ and dept_name=#{deptName}
|
|
|
+ </if>
|
|
|
+ <if test="teamName!=null and teamName!=''">
|
|
|
+ and team_name=#{teamName}
|
|
|
+ </if>
|
|
|
+ <if test="xjdy!=null and xjdy!=''">
|
|
|
+ and xjdy=#{xjdy}
|
|
|
+ </if>
|
|
|
+ <if test="xb!=null and xb!=''">
|
|
|
+ and xb=#{xb}
|
|
|
+ </if>
|
|
|
+ <if test="pds!=null and pds!=''">
|
|
|
+ and pds=#{pds}
|
|
|
+ </if>
|
|
|
+ <if test="bds!=null and bds!=''">
|
|
|
+ and bds=#{bds}
|
|
|
+ </if>
|
|
|
+ <if test="sdxl!=null and sdxl!=''">
|
|
|
+ and sdxl=#{sdxl}
|
|
|
+ </if>
|
|
|
+ <if test="qybds!=null and qybds!=''">
|
|
|
+ and qybds=#{qybds}
|
|
|
+ </if>
|
|
|
+ <if test="atfqs!=null and atfqs!=''">
|
|
|
+ and atfqs=#{atfqs}
|
|
|
+ </if>
|
|
|
+ <if test="plan1!=null and plan1!=''">
|
|
|
+ and plan1=#{plan1}
|
|
|
+ </if>
|
|
|
+ <if test="actual1!=null and actual1!=''">
|
|
|
+ and actual1=#{actual1}
|
|
|
+ </if>
|
|
|
+ <if test="plan2!=null and plan2!=''">
|
|
|
+ and plan2=#{plan2}
|
|
|
+ </if>
|
|
|
+ <if test="actual2!=null and actual2!=''">
|
|
|
+ and actual2=#{actual2}
|
|
|
+ </if>
|
|
|
+ <if test="plan3!=null and plan3!=''">
|
|
|
+ and plan3=#{plan3}
|
|
|
+ </if>
|
|
|
+ <if test="actual3!=null and actual3!=''">
|
|
|
+ and actual3=#{actual3}
|
|
|
+ </if>
|
|
|
+ <if test="plan4!=null and plan4!=''">
|
|
|
+ and plan4=#{plan4}
|
|
|
+ </if>
|
|
|
+ <if test="actual4!=null and actual4!=''">
|
|
|
+ and actual4=#{actual4}
|
|
|
+ </if>
|
|
|
+ <if test="plan5!=null and plan5!=''">
|
|
|
+ and plan5=#{plan5}
|
|
|
+ </if>
|
|
|
+ <if test="actual5!=null and actual5!=''">
|
|
|
+ and actual5=#{actual5}
|
|
|
+ </if>
|
|
|
+ <if test="plan6!=null and plan6!=''">
|
|
|
+ and plan6=#{plan6}
|
|
|
+ </if>
|
|
|
+ <if test="actual6!=null and actual6!=''">
|
|
|
+ and actual6=#{actual6}
|
|
|
+ </if>
|
|
|
+ <if test="plan7!=null and plan7!=''">
|
|
|
+ and plan7=#{plan7}
|
|
|
+ </if>
|
|
|
+ <if test="actual7!=null and actual7!=''">
|
|
|
+ and actual7=#{actual7}
|
|
|
+ </if>
|
|
|
+ <if test="plan8!=null and plan8!=''">
|
|
|
+ and plan8=#{plan8}
|
|
|
+ </if>
|
|
|
+ <if test="actual8!=null and actual8!=''">
|
|
|
+ and actual8=#{actual8}
|
|
|
+ </if>
|
|
|
+ <if test="plan9!=null and plan9!=''">
|
|
|
+ and plan9=#{plan9}
|
|
|
+ </if>
|
|
|
+ <if test="actual9!=null and actual9!=''">
|
|
|
+ and actual9=#{actual9}
|
|
|
+ </if>
|
|
|
+ <if test="plan10!=null and plan10!=''">
|
|
|
+ and plan10=#{plan10}
|
|
|
+ </if>
|
|
|
+ <if test="actual10!=null and actual10!=''">
|
|
|
+ and actual10=#{actual10}
|
|
|
+ </if>
|
|
|
+ <if test="plan11!=null and plan11!=''">
|
|
|
+ and plan11=#{plan11}
|
|
|
+ </if>
|
|
|
+ <if test="actual11!=null and actual11!=''">
|
|
|
+ and actual11=#{actual11}
|
|
|
+ </if>
|
|
|
+ <if test="plan12!=null and plan12!=''">
|
|
|
+ and plan12=#{plan12}
|
|
|
+ </if>
|
|
|
+ <if test="actual12!=null and actual12!=''">
|
|
|
+ and actual12=#{actual12}
|
|
|
+ </if>
|
|
|
+ </where>
|
|
|
+ </select>
|
|
|
|
|
|
</mapper>
|