| | |
| | | */ |
| | | List<VoStLossMonth> selectAllStLossMonth() ; |
| | | |
| | | int deleteByMainKey(Long id) ; |
| | | int deleteStLossMonthById(Long id) ; |
| | | } |
| | |
| | | order by intake_id DESC, id DESC |
| | | </select> |
| | | |
| | | <delete id="deleteByMainKey" parameterType="java.lang.Long"> |
| | | delete from st_loss_year |
| | | <delete id="deleteStLossMonthById" parameterType="java.lang.Long"> |
| | | delete from st_loss_month |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | </mapper> |
| | |
| | | |
| | | @Transactional |
| | | int doDelStLossMonth(Long id){ |
| | | return dao.deleteByMainKey(id) ; |
| | | return dao.deleteStLossMonthById(id) ; |
| | | } |
| | | } |