This commit is contained in:
linfso 2024-05-28 00:57:15 +08:00
parent 07a5f5a475
commit b771886cf1

View File

@ -33,7 +33,7 @@ public interface EmisElectronicSitePagMapper extends BaseMapper<EmisElectronicSi
* 获取单个面单是否可用
* @return
*/
@Select("select * from emis_electronic_site_pag where use_site_code='${useSiteCode}' and prefix='${prefix}' and has_bill_count>0 limit 1 ")
@Select("select * from emis_electronic_site_pag where use_site_code='${useSiteCode}' and material_code='1001' and prefix='${prefix}' and has_bill_count>0 limit 1 ")
@ResultMap("EmisElectronicSitePagResult")
public EmisElectronicSitePag getOneAvailablePag(@Param("useSiteCode")String useSiteCode,@Param("prefix")String prefix);