Merge remote-tracking branch 'origin/develop_master' into develop_3
This commit is contained in:
+3
-3
@@ -11,7 +11,7 @@
|
||||
INNER JOIN sar_public_idea_all on sar_public_idea_all.idea_id = sar_public_idea.id
|
||||
left join ts_user on ts_user.USID = sar_public_idea_all.user_id
|
||||
left join ts_institution on ts_institution.id=ts_user.INSTITUTION_ID
|
||||
WHERE sar_public_idea_all.idea_id IS NOT NULL and sar_public_idea.uniques = #{unique} and sar_public_idea_all.wk_flag is null
|
||||
WHERE sar_public_idea_all.idea_id IS NOT NULL and sar_public_idea.uniques = #{unique}
|
||||
</select>
|
||||
|
||||
<select id="getAllDataByIdea" resultType="com.adc.da.slrs.sarStandIdea.entity.SarPublicIdeaAll">
|
||||
@@ -23,14 +23,14 @@
|
||||
left join ts_user on sar_public_idea_all.user_id=ts_user.USID
|
||||
left join ts_institution on ts_institution.id=ts_user.INSTITUTION_ID
|
||||
WHERE
|
||||
sar_public_idea_all.idea_id = #{ideaId} and sar_public_idea_all.wk_flag is null
|
||||
sar_public_idea_all.idea_id = #{ideaId}
|
||||
LIMIT ${(page-1)*size},${size}
|
||||
</select>
|
||||
|
||||
<select id="getAllDataByIdeaCount" resultType="java.lang.Integer">
|
||||
SELECT count(id)
|
||||
FROM sar_public_idea_all WHERE
|
||||
idea_id = #{ideaId} and sar_public_idea_all.wk_flag is null
|
||||
idea_id = #{ideaId}
|
||||
</select>
|
||||
|
||||
<select id="getPublicAllIdea" resultType="com.adc.da.slrs.sarStandIdea.entity.SarPublicIdeaAll">
|
||||
|
||||
+7
-2
@@ -68,7 +68,7 @@
|
||||
SAR_FILE_SPLIT_ITEMS.fo,SAR_FILE_SPLIT_ITEMS.duty_engineer, SAR_FILE_SPLIT_ITEMS.claim_type,
|
||||
SAR_FILE_SPLIT_ITEMS.bus_stand_cover,SAR_FILE_SPLIT_ITEMS.file_type,SAR_FILE_SPLIT_ITEMS.responsible_unit,
|
||||
TS_ORG.org_name as responsibleUnitShow, dicClaimType.DIC_TYPE_NAME as claimTypeShow,tsdutyEngineer.NAME as
|
||||
dutyEngineerShow,tsFo.NAME as foShow
|
||||
dutyEngineerShow,tsFo.NAME as foShow,SAR_FILE_SPLIT_ITEMS.work_flow_show AS workFlowShow
|
||||
</sql>
|
||||
|
||||
<sql id="Base_Column_List2" >
|
||||
@@ -211,6 +211,7 @@
|
||||
<if test="claimType != null" >claim_type,</if>
|
||||
<if test="busStandCover != null">bus_stand_cover,</if>
|
||||
<if test="fileType != null">file_type,</if>
|
||||
<if test="workFlowShow != null">work_flow_show,</if>
|
||||
<if test="responsibleUnit != null">responsible_unit</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
||||
@@ -233,12 +234,13 @@
|
||||
<if test="creationTime != null" >#{creationTime, jdbcType=TIMESTAMP},</if>
|
||||
<if test="modifyTime != null" >#{modifyTime, jdbcType=TIMESTAMP},</if>
|
||||
<if test="modifyUser != null" >#{modifyUser, jdbcType=VARCHAR},</if>
|
||||
<if test="editFlag != null" >#{editFlag,jdbcType=VARCHAR}</if>
|
||||
<if test="editFlag != null" >#{editFlag,jdbcType=VARCHAR},</if>
|
||||
<if test="fo != null" >#{fo, jdbcType=VARCHAR},</if>
|
||||
<if test="dutyEngineer != null" >#{dutyEngineer, jdbcType=VARCHAR},</if>
|
||||
<if test="claimType != null" >#{claimType, jdbcType=VARCHAR},</if>
|
||||
<if test="busStandCover != null" >#{busStandCover, jdbcType=VARCHAR},</if>
|
||||
<if test="fileType != null" >#{fileType, jdbcType=VARCHAR},</if>
|
||||
<if test="workFlowShow != null" >#{workFlowShow, jdbcType=VARCHAR},</if>
|
||||
<if test="responsibleUnit != null" >#{responsibleUnit, jdbcType=VARCHAR}</if>
|
||||
</trim>
|
||||
</insert>
|
||||
@@ -350,6 +352,9 @@
|
||||
<if test="responsibleUnit != null" >
|
||||
responsible_unit = #{responsibleUnit},
|
||||
</if>
|
||||
<if test="workFlowShow != null" >
|
||||
work_flow_show = #{workFlowShow},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
Reference in New Issue
Block a user