md
This commit is contained in:
parent
011d1cd2cd
commit
6075868ffe
@ -73,7 +73,7 @@ public interface EmisElectronicPagMapper extends BaseMapper<EmisElectronicPag>
|
||||
*/
|
||||
public int deleteEmisElectronicPagByIds(Long[] ids);
|
||||
|
||||
@Select("select count(1) from emis_electronic_pag where (${startNo}>=start_no and ${startNo}<=end_no) or (${endNo}>=start_no and ${endNo}<=end_no) ")
|
||||
@Select("select count(1) from emis_electronic_pag where ('${startNo}'>=start_no and '${startNo}'<=end_no) or ('${endNo}'>=start_no and '${endNo}'<=end_no) ")
|
||||
public int checkPagIsExists(@Param("startNo") String startNo,@Param("endNo") String endNo);
|
||||
|
||||
|
||||
@ -82,6 +82,6 @@ public interface EmisElectronicPagMapper extends BaseMapper<EmisElectronicPag>
|
||||
public EmisElectronicPag getOneAvailablePag();
|
||||
|
||||
|
||||
@Update("update emis_electronic_pag set cur_start_no=${curStartNo},has_bill_count=has_bill_count-1 where id=${id} ")
|
||||
@Update("update emis_electronic_pag set cur_start_no='${curStartNo}',has_bill_count=has_bill_count-1 where id=${id} ")
|
||||
public int updateRealMatchWaybill(@Param("curStartNo")String curStartNo,@Param("id")Long id);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user