| | |
| | | |
| | | import java.util.Base64; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ltkj.hosp.domain.TjSampling; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | | |
| | | /** |
| | | * 体检采样管理Mapper接口 |
| | |
| | | * @return 结果 |
| | | */ |
| | | public int deleteTjSamplingByIds(String[] ids); |
| | | |
| | | |
| | | @Select({"<script>","SELECT GROUP_CONCAT(a.pro_id SEPARATOR ',')proId,GROUP_CONCAT(a.pro_name SEPARATOR ' + ') proName FROM tj_sampling a WHERE a.deleted=0 AND a.id " + |
| | | "IN ","<foreach collection='ids' item='id' open='(' separator=',' close=')'>", |
| | | "#{id}", |
| | | "</foreach>", |
| | | "</script>"}) |
| | | Map<String, Object> hebingCaiYangInFo(@Param("ids") List<String> ids); |
| | | |
| | | |
| | | @Select({"<script>","SELECT COUNT(*) FROM(" + |
| | | "SELECT GROUP_CONCAT(a.pro_id SEPARATOR ',')proId,GROUP_CONCAT(a.pro_name SEPARATOR ' + ') proName FROM tj_sampling a WHERE a.deleted=0 AND a.id " + |
| | | "IN ","<foreach collection='ids' item='id' open='(' separator=',' close=')'>", |
| | | "#{id}", |
| | | "</foreach>", "GROUP BY a.specimen_type_code) aa" + |
| | | "</script>"}) |
| | | int panduanshifoukeyihebing(@Param("ids") List<String> ids); |
| | | } |