Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
36cb0cbc6c
@ -192,6 +192,7 @@ export default {
|
|||||||
// 重置
|
// 重置
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
this.queryParams = {}
|
this.queryParams = {}
|
||||||
|
this.handleQuery()
|
||||||
},
|
},
|
||||||
// 删除
|
// 删除
|
||||||
handleDel(data) {
|
handleDel(data) {
|
||||||
|
@ -193,6 +193,7 @@ export default {
|
|||||||
// 重置
|
// 重置
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
this.queryParams = {}
|
this.queryParams = {}
|
||||||
|
this.handleQuery()
|
||||||
},
|
},
|
||||||
// 删除
|
// 删除
|
||||||
handleDel(data) {
|
handleDel(data) {
|
||||||
|
@ -262,6 +262,8 @@ import {getInstituionListApi, getRunningWaterByDataApi, exportExcelOilDeptApi, g
|
|||||||
this.queryParams = {
|
this.queryParams = {
|
||||||
page: 1,
|
page: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
|
deptType:"3",
|
||||||
|
|
||||||
}
|
}
|
||||||
this.beginTime = ""
|
this.beginTime = ""
|
||||||
this.endTime = ""
|
this.endTime = ""
|
||||||
|
@ -77,7 +77,7 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
|
|
||||||
<!-- 添加或修改菜单对话框 -->
|
<!-- 添加或修改菜单对话框 -->
|
||||||
<el-dialog :title="title" :visible.sync="open" width="680px" append-to-body>
|
<el-dialog :title="title" :visible.sync="open" width="680px" append-to-body :close-on-click-modal="false">
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
|
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
|
@ -84,7 +84,7 @@ public class CvsGoodsServiceImpl extends ServiceImpl<CvsGoodsMapper,CvsGoods> im
|
|||||||
cvsGoodsVo.setPid(goods.getPid());
|
cvsGoodsVo.setPid(goods.getPid());
|
||||||
cvsGoodsVo.setStatus(goods.getStatus());
|
cvsGoodsVo.setStatus(goods.getStatus());
|
||||||
cvsGoodsVo.setCode(goods.getCode());
|
cvsGoodsVo.setCode(goods.getCode());
|
||||||
cvsGoodsVo.setCreateTime(new Date());
|
cvsGoodsVo.setCreateTime(goods.getCreateTime());
|
||||||
AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo();
|
AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo();
|
||||||
cvsGoodsVo.setCreateBy(nowAccountInfo.getId().toString());
|
cvsGoodsVo.setCreateBy(nowAccountInfo.getId().toString());
|
||||||
cvsGoodsVo.setSorted(goods.getSorted());
|
cvsGoodsVo.setSorted(goods.getSorted());
|
||||||
|
@ -863,7 +863,18 @@ public class AllOrderInfoServiceImpl extends ServiceImpl<AllOrderInfoMapper,AllO
|
|||||||
|
|
||||||
//流水数据分析
|
//流水数据分析
|
||||||
AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo();
|
AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo();
|
||||||
IPage<SysDeptVo> sysDepts = sysDeptMapper.selectChildrenDeptById2( page,nowAccountInfo.getDeptId(),allOrderInfo.getDeptId(),allOrderInfo.getDeptType());
|
// IPage<SysDeptVo> sysDepts = sysDeptMapper.selectChildrenDeptById2( page,nowAccountInfo.getDeptId(),allOrderInfo.getDeptId(),allOrderInfo.getDeptType());
|
||||||
|
|
||||||
|
IPage<SysDeptVo> sysDepts = new Page<>();
|
||||||
|
|
||||||
|
if (ObjectUtil.isEmpty(allOrderInfo.getDeptId())) {
|
||||||
|
sysDepts = sysDeptMapper.selectChildrenDeptById2( page,nowAccountInfo.getDeptId(),allOrderInfo.getDeptId(),allOrderInfo.getDeptType());
|
||||||
|
}else {
|
||||||
|
SysDeptVo sysDept = sysDeptMapper.selectDeptByIdVo(nowAccountInfo.getDeptId());
|
||||||
|
List<SysDeptVo> ssysDept = new ArrayList<>();
|
||||||
|
ssysDept.add(sysDept);
|
||||||
|
sysDepts.setRecords(ssysDept);
|
||||||
|
}
|
||||||
|
|
||||||
for (SysDeptVo sysDept : sysDepts.getRecords()) {
|
for (SysDeptVo sysDept : sysDepts.getRecords()) {
|
||||||
long dayNum = 0;
|
long dayNum = 0;
|
||||||
|
@ -89,6 +89,9 @@
|
|||||||
<if test="oilTank.updateBy != null">
|
<if test="oilTank.updateBy != null">
|
||||||
and update_by = #{oilTank.updateBy}
|
and update_by = #{oilTank.updateBy}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="oilTank.inventoryStatistics != null and oilTank.inventoryStatistics != ''">
|
||||||
|
and inventory_statistics = #{oilTank.inventoryStatistics}
|
||||||
|
</if>
|
||||||
</where>
|
</where>
|
||||||
ORDER BY update_time DESC
|
ORDER BY update_time DESC
|
||||||
</select>
|
</select>
|
||||||
|
Loading…
Reference in New Issue
Block a user