zjh
2023-12-26 e61f0a9cc2e229dd6f8156cc020e59ee3c164a01
ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjDwGroupingMapper.java
@@ -5,6 +5,8 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ltkj.hosp.domain.TjDwGrouping;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
/**
 * 体检单位分组Mapper接口
@@ -61,4 +63,8 @@
     * @return 结果
     */
    public int deleteTjDwGroupingByIds(String[] ids);
    @Select("SELECT COUNT(*) FROM tj_dw_grouping a WHERE a.dw_dept_id=#{dwDeptId}  AND a.sex=#{sex} ")
    public int selectTjDwGroupingBySex(@Param("dwDeptId")String dwDeptId,@Param("sex") String sex);
}