|
|
|
@ -22,6 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<result property="siteCode" column="Site_Code" />
|
|
|
|
|
<result property="productionLineCode" column="production_line_code" />
|
|
|
|
|
<result property="teamLeaderCode" column="team_leader_code" />
|
|
|
|
|
<result property="teamLeaderName" column="team_leader_name" />
|
|
|
|
|
<result property="planPostQuantity" column="plan_post_quantity" />
|
|
|
|
|
<result property="actualPostQuantity" column="actual_post_quantity" />
|
|
|
|
|
<result property="salaryType" column="salary_type" />
|
|
|
|
@ -32,7 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<sql id="selectBaseTeamTVo">
|
|
|
|
|
select Team_Id, ORG_Id, Team_Code, Team_Desc, Team_Desc_Global, Team_Desc_Extended, Create_By, Create_Date, Last_Update_By, Last_Update_Date, Active, Enterprise_Id, Enterprise_Code, Site_Id, Site_Code, production_line_code, team_leader_code, plan_post_quantity, actual_post_quantity, salary_type, team_properties, attendance_quantity, assigned_quantity ,team_type from base_team_t
|
|
|
|
|
select Team_Id, ORG_Id, Team_Code, Team_Desc, Team_Desc_Global, Team_Desc_Extended, Create_By, Create_Date, Last_Update_By, Last_Update_Date, Active, Enterprise_Id, Enterprise_Code, Site_Id, Site_Code, production_line_code, team_leader_code, team_leader_name,plan_post_quantity, actual_post_quantity, salary_type, team_properties, attendance_quantity, assigned_quantity ,team_type from base_team_t
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<select id="selectBaseTeamTList" parameterType="BaseTeamT" resultMap="BaseTeamTResult">
|
|
|
|
@ -54,6 +55,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="siteCode != null and siteCode != ''"> and Site_Code = #{siteCode}</if>
|
|
|
|
|
<if test="productionLineCode != null and productionLineCode != ''"> and production_line_code = #{productionLineCode}</if>
|
|
|
|
|
<if test="teamLeaderCode != null and teamLeaderCode != ''"> and team_leader_code = #{teamLeaderCode}</if>
|
|
|
|
|
<if test="teamLeaderName != null and teamLeaderName != ''"> and team_leader_name = #{teamLeaderName}</if>
|
|
|
|
|
<if test="planPostQuantity != null "> and plan_post_quantity = #{planPostQuantity}</if>
|
|
|
|
|
<if test="actualPostQuantity != null "> and actual_post_quantity = #{actualPostQuantity}</if>
|
|
|
|
|
<if test="salaryType != null and salaryType != ''"> and salary_type = #{salaryType}</if>
|
|
|
|
@ -89,6 +91,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="siteCode != null">Site_Code,</if>
|
|
|
|
|
<if test="productionLineCode != null">production_line_code,</if>
|
|
|
|
|
<if test="teamLeaderCode != null">team_leader_code,</if>
|
|
|
|
|
<if test="teamLeaderName != null">team_leader_name,</if>
|
|
|
|
|
<if test="planPostQuantity != null">plan_post_quantity,</if>
|
|
|
|
|
<if test="actualPostQuantity != null">actual_post_quantity,</if>
|
|
|
|
|
<if test="salaryType != null">salary_type,</if>
|
|
|
|
@ -115,6 +118,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="siteCode != null">#{siteCode},</if>
|
|
|
|
|
<if test="productionLineCode != null">#{productionLineCode},</if>
|
|
|
|
|
<if test="teamLeaderCode != null">#{teamLeaderCode},</if>
|
|
|
|
|
<if test="teamLeaderName != null">#{teamLeaderName},</if>
|
|
|
|
|
<if test="planPostQuantity != null">#{planPostQuantity},</if>
|
|
|
|
|
<if test="actualPostQuantity != null">#{actualPostQuantity},</if>
|
|
|
|
|
<if test="salaryType != null">#{salaryType},</if>
|
|
|
|
@ -144,6 +148,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="siteCode != null">Site_Code = #{siteCode},</if>
|
|
|
|
|
<if test="productionLineCode != null">production_line_code = #{productionLineCode},</if>
|
|
|
|
|
<if test="teamLeaderCode != null">team_leader_code = #{teamLeaderCode},</if>
|
|
|
|
|
<if test="teamLeaderName != null">team_leader_name = #{teamLeaderName},</if>
|
|
|
|
|
<if test="planPostQuantity != null">plan_post_quantity = #{planPostQuantity},</if>
|
|
|
|
|
<if test="actualPostQuantity != null">actual_post_quantity = #{actualPostQuantity},</if>
|
|
|
|
|
<if test="salaryType != null">salary_type = #{salaryType},</if>
|
|
|
|
|