| | |
| | | import java.util.Map; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ltkj.hosp.domain.TjCustomer; |
| | | import com.ltkj.hosp.domain.TjOrder; |
| | | import com.ltkj.hosp.vodomain.LineChartsVo; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | |
| | | @Select("SELECT * FROM tj_order WHERE deleted='0' and user_id =#{userId}" + |
| | | " AND !ISNULL(finish_time) ORDER BY create_time DESC LIMIT 1") |
| | | TjOrder getLastTjOrderListByCusId(Long userId); |
| | | |
| | | |
| | | //存储过程专用接口(总检) |
| | | List<List<?>> getCunChuGuoChengCustomerList(Map<String,Object> map); |
| | | |
| | | |
| | | //存储过程专用接口(初审) |
| | | List<List<?>> getCsCunChuGuoChengCustomerList(Map<String,Object> map); |
| | | |
| | | |
| | | @Select("SELECT count(*) FROM tj_order a WHERE a.deleted=0 and a.card_id=#{cardId}") |
| | | int selectTjOrderByCardId(String cardId); |
| | | |
| | | |
| | | @Select("SELECT a.card_id FROM tj_order a WHERE a.deleted=0") |
| | | List<String> selectTjOrderByCardId1(); |
| | | } |