diff --git a/src/main/resources/mappers/basic/TbProjectMapper.xml b/src/main/resources/mappers/basic/TbProjectMapper.xml index be28aec..c76cae2 100644 --- a/src/main/resources/mappers/basic/TbProjectMapper.xml +++ b/src/main/resources/mappers/basic/TbProjectMapper.xml @@ -36,21 +36,9 @@ - update tb_project - - depart_id = #{departId}, - pro_name = #{proName}, - voltage_level = #{voltageLevel}, - line_length = #{lineLength}, - plan_start_time = #{planStartTime}, - plan_end_time = #{planEndTime}, - lon = #{lon}, - lat = #{lat}, - address = #{address}, - pro_status = #{proStatus}, - update_user_id = #{updateUserId}, - update_time = now() - + update tb_project set depart_id = #{departId},pro_name = #{proName},voltage_level = #{voltageLevel}, + line_length = #{lineLength},plan_start_time = #{planStartTime},plan_end_time = #{planEndTime},lon = #{lon}, + lat = #{lat},address = #{address},pro_status = #{proStatus},update_user_id = #{updateUserId},update_time = now() where id = #{id} @@ -87,6 +75,7 @@ #{item} + ORDER BY tp.update_time desc