| | |
| | | FROM |
| | | work_injury_declaration a |
| | | LEFT JOIN accident_express b ON a.accident_express_id = b.id |
| | | WHERE |
| | | a.del_flag = 0 |
| | | WHERE |
| | | a.del_flag = 0 |
| | | <if test="query.accidentExpressId != null">and a.`accident_express_id` = #{query.accidentExpressId}</if> |
| | | </select> |
| | | |
| | |
| | | FROM |
| | | work_injury_declaration a |
| | | LEFT JOIN accident_express b ON a.accident_express_id = b.id |
| | | WHERE del_flag = 0 and id = #{id} |
| | | WHERE a.del_flag = 0 and a.id = #{id} |
| | | </select> |
| | | |
| | | <update id="updateWorkInjuryDeclaration" parameterType="com.gkhy.safePlatform.incidentManage.entity.WorkInjuryDeclarationInfo"> |