Merge remote-tracking branch 'origin/master'

master
夜笙歌 4 years ago
commit 45410919cf

@ -86,9 +86,9 @@ public interface BroadDataMapper {
BoxOutput zz_selectOneBadRateMb();
List<OrderInfo> mtk_selectOrderInfoBy3d();
List<BoxOutput> mtk_selectOrderInfoBy3d();
List<OrderInfo> mtk_selectOrderInfoBy3dTatle();
List<BoxOutput> mtk_selectOrderInfoBy3dTatle();
List<OrderInfo> mtk_selectInstoreNumByday();
List<BoxOutput> mtk_selectInstoreNumByday();
}

@ -68,9 +68,9 @@ public interface IBroadDataService {
BoxOutput zz_selectOneBadRateMb();
List<OrderInfo> mtk_selectOrderInfoBy3d();
List<BoxOutput> mtk_selectOrderInfoBy3d();
List<OrderInfo> mtk_selectOrderInfoBy3dTatle();
List<BoxOutput> mtk_selectOrderInfoBy3dTatle();
List<OrderInfo> zz_selectInstoreNumByday();
List<BoxOutput> zz_selectInstoreNumByday();
}

@ -121,16 +121,16 @@ public class BroadDataServiceImpl implements IBroadDataService
}
@Override
public List<OrderInfo> mtk_selectOrderInfoBy3d() {
public List<BoxOutput> mtk_selectOrderInfoBy3d() {
return mapper.mtk_selectOrderInfoBy3d();
}
@Override
public List<OrderInfo> mtk_selectOrderInfoBy3dTatle() {
public List<BoxOutput> mtk_selectOrderInfoBy3dTatle() {
return mapper.mtk_selectOrderInfoBy3dTatle();
}
@Override
public List<OrderInfo> zz_selectInstoreNumByday() {
public List<BoxOutput> zz_selectInstoreNumByday() {
return mapper.mtk_selectInstoreNumByday();
}
///////////////////////////////////////////////////////////////////////////

@ -516,7 +516,10 @@ from (
values (#{name},#{nowOut},#{cha},#{zs})
</insert>
<select id="selectTeamGroups" resultType="integer">
select case when sysdate &lt; = W_END then 0 else 1 end from BASE_DAY_WBTIME where ROWNUM=1 order by CREATE_TIME desc
select case when sysdate &lt; = W_END then 0 else 1 end
from (select *
from (select w_end from BASE_DAY_WBTIME BASE_DAY_WBTIME order by CREATE_TIME desc)
where ROWNUM = 1)
</select>
@ -615,7 +618,7 @@ from (
where to_char(ippi.CREATION_DATE, 'yyyy-MM-dd') = to_char(sysdate, 'yyyy-MM-dd') and ippi. DELETE_FLAG=0
</select>
<select id="mtk_selectOrderInfoBy3dTatle" resultType="com.ruoyi.system.domain.OrderInfo">
<select id="mtk_selectOrderInfoBy3dTatle" resultType="com.ruoyi.system.domain.BoxOutput">
select sum(ORDER_QTY) as qty, '订单数量' as name
from IMOS_PR_ORDER
where FINISH_DATE between to_date(to_char(SYSDATE - 3, 'yyyy-MM-dd') || '00:00:00', 'yyyy-MM-dd hh24:mi:ss')
@ -652,7 +655,7 @@ from (
from IMOS_PR_PRODUCT_IN
where to_char(CREATION_DATE, 'yyyy-MM-dd') = to_char(sysdate, 'yyyy-MM-dd')
</select>
<select id="mtk_selectOrderInfoBy3d" resultType="com.ruoyi.system.domain.OrderInfo">
<select id="mtk_selectOrderInfoBy3d" resultType="com.ruoyi.system.domain.BoxOutput">
select substr(ORDER_NO, 5, length(ORDER_NO)) || '(' || substr(
substr(MATERIAL_NAME,
instr(MATERIAL_NAME, '-', 1, 1) + 1,
@ -672,7 +675,7 @@ from (
select * from (select rate,'不合格率目标' from haiwei.BASE_ONE_UNQUQLIFIED_RATE order by CREATE_TIME desc) where ROWNUM=1
</select>
<select id="mtk_selectInstoreNumByday" resultType="com.ruoyi.system.domain.OrderInfo">
<select id="mtk_selectInstoreNumByday" resultType="com.ruoyi.system.domain.BoxOutput">
select substr(
MATERIAL_NAME,
instr(MATERIAL_NAME, '-', 1, 1) + 1,

Loading…
Cancel
Save