| | |
| | | <select id="selectPatMaternityArchiveDetailById" parameterType="Long" resultMap="PatMaternityArchiveDetailResult"> |
| | | <include refid="selectPatMaternityArchiveDetailVo"/> |
| | | where id = #{id} |
| | | and del_flag = '0' |
| | | </select> |
| | | |
| | | <insert id="insertPatMaternityArchiveDetail" parameterType="com.smartor.domain.PatMaternityArchiveDetail" |
| | |
| | | #{id} |
| | | </foreach> |
| | | </update> |
| | | |
| | | <update id="deletePatMaternityArchiveDetailByArchiveIds" parameterType="String"> |
| | | update pat_maternity_archive_detail set del_flag = '1' where archiveid in |
| | | <foreach item="archiveId" collection="array" open="(" separator="," close=")"> |
| | | #{archiveId} |
| | | </foreach> |
| | | </update> |
| | | </mapper> |