hjg
2024-07-09 30304784e82d4bba24121328da8eb8490aec4f4f
JavaSource/com/mandi/fendan/mapper/Fd_XSTDMXMapper.java
@@ -162,19 +162,30 @@
         " left join nc_hw hw on mx.tdmx_hwbh=hw.pkid and hw.state=1 " ,
         " join xs_taskmonitor xt on mx.tdmx_fdywbh = xt.businessNo  ",
         " join fd_bsheet on bsNo=tdmx_fdywbh and status='在办' " ,
         " where SdepartNo=#{sdepartNo} and xt.firstgbtime is not null  and xt.lastgbtime is null and zcWc=0"
         " where SdepartNo=#{sdepartNo} and xt.firstgbtime is not null  and xt.lastgbtime is null"
   })
   public List<Map> getHwList(String sdepartNo);
   // 义瑞LED显示 序号  车号  装车区  状态
   /** 义瑞、科技LED显示 序号  车号  装车区  状态 **/
   @Deprecated
   @Select({
         "select  bs.numberplates,businessNo,zcWz,firstzxhtime," ,
         "case WHEN EXISTS ( SELECT * FROM bussinessitems WHERE bussinessNo = x.businessNo ) THEN '在装'" ,
         " when x.firstgbtime is not null then '待装' else '完成' end zcStatus " ,
         " from xs_taskmonitor x" ,
         " join bussinesssheet bs on x.businessNo=bs.bussinessNo" ,
         " where sdepartNo=#{sdepartNo} and x.lastgbtime is  null and zcWc=0"
         " join bussinesssheet bs on x.businessNo=bs.bussinessNo and bs.sstatus='在办' " ,
         " where sdepartNo=#{sdepartNo} and firstgbtime is not null and x.lastgbtime is  null order by jctime"
   })
   public List<Map> yRZcList(String sdepartNo);
   // 义瑞、科技LED显示 科技车辆进厂后显示等待,扫码后显示装车,二次过磅后不再显示
   @Select({
         "select bs.numberplates,businessNo,zcWz,firstzxhtime," ,
         "case WHEN EXISTS ( SELECT * FROM bussinessitems WHERE bussinessNo = x.businessNo ) THEN '装车'" ,
         " when x.jctime is not null then '等待' else '' end zcStatus " ,
         " from xs_taskmonitor x" ,
         " join bussinesssheet bs on x.businessNo=bs.bussinessNo and bs.sstatus='在办' " ,
         " where sdepartNo=#{sdepartNo} and jctime is not null and x.lastgbtime is  null order by jctime"
   })
   public List<Map> kjZcList(String sdepartNo);
}