| | |
| | | */ |
| | | public int deleteTbTransitionByIds(String[] ids); |
| | | |
| | | @Delete("DELETE FROM tb_transition WHERE cus_id=#{cusId}") |
| | | @Delete("DELETE FROM tb_transition WHERE cus_id=#{cusId} and isnull(tj_num)") |
| | | public boolean deletedTbTransitionByCusId(String cusId); |
| | | |
| | | |
| | |
| | | @Select("SELECT * FROM tb_transition WHERE cus_id=#{cusId} and card_id=#{cardId}") |
| | | public List<TbTransition> getTbTransitionListByCusId(@Param("cusId")String cusId,@Param("cardId")String cardId); |
| | | |
| | | @Delete("DELETE FROM tb_transition WHERE cus_id=#{cusId} AND !ISNULL(pac_id) and card_id=#{cardId}") |
| | | @Delete("DELETE FROM tb_transition WHERE cus_id=#{cusId} AND !ISNULL(pac_id) and isnull(tj_num)") |
| | | public boolean deletedTbTransitionListByCusIdAndPac(@Param("cusId")String cusId,@Param("cardId")String cardId); |
| | | |
| | | @Delete("DELETE FROM tb_transition WHERE cus_id=#{cusId} AND ISNULL(tj_num)and card_id=#{cardId}") |