| | |
| | | <result property="createDate" column="create_date"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateDate" column="update_date"/> |
| | | <result property="status" column="status"/> |
| | | </resultMap> |
| | | |
| | | <!-- List<TbBaseCheckItem> selectTbBaseCheckItemPage(TbBaseCheckItemBO tbBaseCheckItemBO);--> |
| | |
| | | select * from tb_base_check_item |
| | | where id = #{checkItemId} |
| | | </select> |
| | | |
| | | <!-- TbBaseCheckItem getBaseItemByStatus(Date date);--> |
| | | <select id="getBaseItemByStatus" resultMap="BaseResultMap"> |
| | | select * from tb_base_check_item |
| | | where deleted = 0 and status = 1 |
| | | limit 1 |
| | | </select> |
| | | <!-- int updateStatusById(String id);--> |
| | | <update id="updateStatusById" parameterType="com.ruoyi.project.tr.specialCheck.domin.TbBaseCheckItem"> |
| | | update tb_base_check_item set |
| | | status = 2 |
| | | where id = #{id} |
| | | </update> |
| | | </mapper> |