f4b4f1f335c1cbabd5840425593388bc15560e11.svn-base 822 B

1234567891011121314151617181920212223242526272829
  1. package org.jeecg.modules.demo.test.mapper;
  2. import java.util.List;
  3. import org.apache.ibatis.annotations.Delete;
  4. import org.apache.ibatis.annotations.Select;
  5. import org.jeecg.modules.demo.test.entity.JeecgOrderTicket;
  6. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  7. /**
  8. * @Description: 订单机票
  9. * @Author: jeecg-boot
  10. * @Date: 2019-02-15
  11. * @Version: V1.0
  12. */
  13. public interface JeecgOrderTicketMapper extends BaseMapper<JeecgOrderTicket> {
  14. /**
  15. * 通过主表外键批量删除客户
  16. * @param mainId
  17. * @return
  18. */
  19. @Delete("DELETE FROM JEECG_ORDER_TICKET WHERE ORDER_ID = #{mainId}")
  20. public boolean deleteTicketsByMainId(String mainId);
  21. @Select("SELECT * FROM JEECG_ORDER_TICKET WHERE ORDER_ID = #{mainId}")
  22. public List<JeecgOrderTicket> selectTicketsByMainId(String mainId);
  23. }