zhaowenxuan
2024-10-16 cb50f227bb5276600a8011caf13f2784d94af6ab
ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjCfMapper.java
@@ -7,6 +7,7 @@
import com.ltkj.hosp.domain.TjCf;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import javax.annotation.Resource;
@@ -18,7 +19,9 @@
    @Delete("DELETE FROM tj_cf WHERE cfh=#{cfh}")
    void  delCfByCardId(String cfh);
    @Select("SELECT a.cfh FROM tj_cf a WHERE a.card_id=#{cardId}")
    List<String> getCfhs(String cardId);
    @Select("SELECT a.cfh FROM tj_cf a WHERE a.card_id=#{cardId} and a.jxbz=#{bldh}")
    List<String> getCfBlhs(@Param("cardId") String cardId,@Param("bldh") String bldh);
}