数据分析模块开发

This commit is contained in:
haozq 2026-01-23 14:09:32 +08:00
parent b840272936
commit 9b83a4baff
3 changed files with 4 additions and 11 deletions

View File

@ -55,6 +55,7 @@
<update id="updateNewData"> <update id="updateNewData">
update sj_new_benefit_analysis update sj_new_benefit_analysis
<set> <set>
project_id=#{bidCode},
<if test="txTime!=null and txTime!=''"> <if test="txTime!=null and txTime!=''">
tx_time= #{txTime}, tx_time= #{txTime},
</if> </if>

View File

@ -92,15 +92,7 @@
<update id="updateAsyncWarnList"> <update id="updateAsyncWarnList">
update sj_new_hjjcfx_warn update sj_new_hjjcfx_warn
<set> <set>
<if test="txTime!=null and txTime!=''"> project_id=#{bidCode}, tx_time= #{txTime}, tx_type= #{txType}, content= #{content}
tx_time= #{txTime},
</if>
<if test="txType!=null and txType!=''">
tx_type= #{txType},
</if>
<if test="content!=null and content!=''">
content= #{content},
</if>
</set> </set>
where id= #{id} where id= #{id}
</update> </update>

View File

@ -52,7 +52,7 @@
</update> </update>
<delete id="delete"> <delete id="delete">
delete from sj_project_quality where id=#{id} delete from sj_new_project_quality where id=#{id}
</delete> </delete>
<delete id="deleteWarnData"> <delete id="deleteWarnData">
delete from sj_new_async_warn where id=#{id} delete from sj_new_async_warn where id=#{id}
@ -106,7 +106,7 @@
sjq.project_id as bidCode, sjq.project_id as bidCode,
tp.pro_name proName, tp.pro_name proName,
team.id teamId , team.id teamId ,
team.team_name, team.team_name teamName,
sjq.content as content, sjq.content as content,
sjq.test_day testDay, sjq.test_day testDay,
sjq.test_result testResult, sjq.test_result testResult,