md
This commit is contained in:
parent
9b24c092eb
commit
bed570773c
@ -147,11 +147,12 @@ public class EmisTmsScanRecordController extends EmisBaseController
|
|||||||
|
|
||||||
@GetMapping("/getNextStationList")
|
@GetMapping("/getNextStationList")
|
||||||
@JacksonFilter(include= {"startSite","destSite","startSiteName","destSiteName"},value= EmisTmsTransPlanDtl.class,type= JacksonFilter.JscksonFilterType.RESPONSE)
|
@JacksonFilter(include= {"startSite","destSite","startSiteName","destSiteName"},value= EmisTmsTransPlanDtl.class,type= JacksonFilter.JscksonFilterType.RESPONSE)
|
||||||
public TableDataInfo getNextStationList(String searchValue)
|
public TableDataInfo getNextStationList(String searchValue,String transType)
|
||||||
{
|
{
|
||||||
startPage();
|
startPage();
|
||||||
EmisTmsTransPlanDtl queryObj = new EmisTmsTransPlanDtl();
|
EmisTmsTransPlanDtl queryObj = new EmisTmsTransPlanDtl();
|
||||||
queryObj.setStartSite(getLoginUser().getUser().getOwnerSiteCode());
|
queryObj.setStartSite(getLoginUser().getUser().getOwnerSiteCode());
|
||||||
|
queryObj.setTransType(transType);
|
||||||
queryObj.getParams().put("searchValue",searchValue);
|
queryObj.getParams().put("searchValue",searchValue);
|
||||||
List<EmisTmsTransPlanDtl> list = emisTmsTransPlanDtlService.selectPreOrNextSiteList(queryObj);
|
List<EmisTmsTransPlanDtl> list = emisTmsTransPlanDtlService.selectPreOrNextSiteList(queryObj);
|
||||||
|
|
||||||
|
|||||||
@ -58,7 +58,7 @@
|
|||||||
<if test="stepName != null and stepName != ''"> and step_name like concat('%', #{stepName}, '%')</if>
|
<if test="stepName != null and stepName != ''"> and step_name like concat('%', #{stepName}, '%')</if>
|
||||||
<if test="startSite != null and startSite != ''"> and FIND_IN_SET( #{startSite}, start_site ) </if>
|
<if test="startSite != null and startSite != ''"> and FIND_IN_SET( #{startSite}, start_site ) </if>
|
||||||
<if test="destSite != null and destSite != ''"> and FIND_IN_SET( #{destSite}, dest_site )</if>
|
<if test="destSite != null and destSite != ''"> and FIND_IN_SET( #{destSite}, dest_site )</if>
|
||||||
<if test="transType != null and transType != ''"> and trans_type=#{transType}</if>
|
<if test="transType != null and transType != ''"> and FIND_IN_SET(trans_type,#{transType} )</if>
|
||||||
<if test="estCostDay != null "> and est_cost_day like concat('%', #{estCostDay}, '%')</if>
|
<if test="estCostDay != null "> and est_cost_day like concat('%', #{estCostDay}, '%')</if>
|
||||||
<if test="orderNum != null "> and order_num = #{orderNum}</if>
|
<if test="orderNum != null "> and order_num = #{orderNum}</if>
|
||||||
<if test="status != null and status != ''"> and status=#{status}</if>
|
<if test="status != null and status != ''"> and status=#{status}</if>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user