This commit is contained in:
linfso 2024-05-24 10:06:41 +08:00
parent 47e78881af
commit e0d68de981
2 changed files with 3 additions and 3 deletions

View File

@ -111,12 +111,12 @@ public class EmisTmsScanRecordController extends BaseController
@GetMapping("/getNextStationList")
@JacksonFilter(include= {"startSite","destSite","startSiteName","destSiteName"},value= EmisTmsTransPlanDtl.class,type= JacksonFilter.JscksonFilterType.RESPONSE)
public TableDataInfo getNextStationList(String siteName)
public TableDataInfo getNextStationList(String searchValue)
{
startPage();
EmisTmsTransPlanDtl queryObj = new EmisTmsTransPlanDtl();
queryObj.setStartSite(getLoginUser().getUser().getOwnerSiteCode());
queryObj.getParams().put("siteName",siteName);
queryObj.getParams().put("searchValue",searchValue);
List<EmisTmsTransPlanDtl> list = emisTmsTransPlanDtlService.selectEmisTmsTransPlanDtlList(queryObj);
return getDataTable(list);

View File

@ -42,7 +42,7 @@
where a.del_flag='0' and site_type not in(1,2)
<if test="startSite != null and startSite != ''"> and a.site_code!=#{startSite} </if>
<if test="destSite != null and destSite != ''"> and a.site_code!=#{destSite} </if>
<if test="params.siteName != null and params.siteName != ''"> and a.site_name like concat('%',#{params.siteName},'%') </if>
<if test="params.searchValue != null and params.searchValue != ''"> and a.site_name like concat('%',#{params.searchValue},'%') </if>
order by site_code asc
</select>