|  |  |  | 
|---|
|  |  |  | public List<ViewStayTimeBean> getViewStayTimeAll(ViewStayTimeBean viewStayTime); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //   // 库位Map | 
|---|
|  |  |  | @Select("select distinct row1 from asr_loc_mast order by row1 asc") | 
|---|
|  |  |  | @Select("select distinct row1 from asr_loc_mast_man_node_merge order by row1 asc") | 
|---|
|  |  |  | List<Integer> getViewLocRowTotal(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Select("select distinct lev1 from asr_loc_mast where row1=#{row1} order by lev1 desc") | 
|---|
|  |  |  | @Select("select distinct lev1 from asr_loc_mast_man_node_merge where row1=#{row1} order by lev1 desc") | 
|---|
|  |  |  | public List<String> getViewLocLevCount(@Param("row1") int row1); | 
|---|
|  |  |  | // | 
|---|
|  |  |  | @Select("select loc_no as locNo, bay1,loc_sts as locSts from asr_loc_mast where row1=#{row1} and lev1=#{lev1} order by bay1") | 
|---|
|  |  |  | @Select("select loc_no as locNo, bay1,loc_sts as locSts from asr_loc_mast_man_node_merge where row1=#{row1} and lev1=#{lev1} order by bay1") | 
|---|
|  |  |  | public List<ViewLocMapDto> getViewLocBays(@Param("row1") int row1, @Param("lev1") int lev1); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 库位Map | 
|---|
|  |  |  | @Select("select distinct bay1 from asr_loc_mast where row1=#{row1} order by bay1") | 
|---|
|  |  |  | @Select("select distinct bay1 from asr_loc_mast_man_node_merge where row1=#{row1} order by bay1") | 
|---|
|  |  |  | public List<String> getViewLocBayCount(@Param("row1") int row1); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Select("select lev1,loc_sts as locSts from asr_loc_mast where row1=#{row1} and bay1=#{bay1} order by bay1") | 
|---|
|  |  |  | 
|---|
|  |  |  | //饼状图 | 
|---|
|  |  |  | @Select("select * from asr_loc_use_view") | 
|---|
|  |  |  | public LocChartPie getLocUseRate(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //立库数据 | 
|---|
|  |  |  | @Select("select * from asr_loc_use_view_L") | 
|---|
|  |  |  | public LocChartPie getLocUseRateL(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //平库数据 | 
|---|
|  |  |  | @Select("select * from asr_loc_use_view_P") | 
|---|
|  |  |  | public LocChartPie getLocUseRateP(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //曲线图 | 
|---|
|  |  |  | @Select("select ymd,SUM(sto_qty) inqty,SUM(ret_qty) outqty from asr_sta_inout_view " | 
|---|
|  |  |  | + "where ymd>CONVERT(char(10), DATEADD(DAY,-12,GETDATE()), 120) group by ymd order by ymd") | 
|---|