zjh
2024-05-16 adaaa23c789be3313a0e554fbf7beaa8ab261e68
ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjOrderMapper.java
@@ -5,6 +5,7 @@
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;
@@ -185,4 +186,20 @@
    @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();
}