Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wms_api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高宇
wms_api
Commits
56ba51b4
Commit
56ba51b4
authored
Dec 24, 2024
by
方建宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加销售明细导出按钮
parent
4f3dbeb5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
6 deletions
+21
-6
StoreGoodsLogController.java
...bus/storegoodslog/controller/StoreGoodsLogController.java
+1
-0
StoreGoodsLogMapper.xml
...esources/mapper/bus/storeGoodsLog/StoreGoodsLogMapper.xml
+20
-6
No files found.
src/main/java/org/rcisoft/bus/storegoodslog/controller/StoreGoodsLogController.java
View file @
56ba51b4
...
@@ -121,6 +121,7 @@ public class StoreGoodsLogController extends CyPaginationController<StoreGoodsLo
...
@@ -121,6 +121,7 @@ public class StoreGoodsLogController extends CyPaginationController<StoreGoodsLo
return
getGridModelResponse
();
return
getGridModelResponse
();
}
}
//@PreAuthorize("@cyPerm.hasPerm('sys:goodsLog:export')")
@CyOpeLogAnno
(
title
=
"system-商品记录表管理-查询商品记录表"
,
businessType
=
CyLogTypeEnum
.
EXPORT
)
@CyOpeLogAnno
(
title
=
"system-商品记录表管理-查询商品记录表"
,
businessType
=
CyLogTypeEnum
.
EXPORT
)
@ApiOperation
(
value
=
"导出商品记录表信息"
,
notes
=
"导出商品记录表信息"
)
@ApiOperation
(
value
=
"导出商品记录表信息"
,
notes
=
"导出商品记录表信息"
)
@GetMapping
(
value
=
"/export"
)
@GetMapping
(
value
=
"/export"
)
...
...
src/main/resources/mapper/bus/storeGoodsLog/StoreGoodsLogMapper.xml
View file @
56ba51b4
...
@@ -37,11 +37,19 @@
...
@@ -37,11 +37,19 @@
</update>
</update>
<!--<cache type="${corePackag!}.util.RedisCache"/>-->
<!--<cache type="${corePackag!}.util.RedisCache"/>-->
<select
id=
"queryWmsGoodsLogs"
resultMap=
"BaseResultMap"
>
<select
id=
"queryWmsGoodsLogs"
resultMap=
"BaseResultMap"
>
select * from store_goods_log
select *,dept_tb.dept_name as store_name,sga.app_code as app_code
from store_goods_log sgl
left join store_goods_apply sga on sgl.apply_id = sga.business_id
left join sys_dept as dept_tb on sga.store_id = dept_tb.business_id
where 1=1
where 1=1
and del_flag = '0'
and sgl.del_flag = '0'
and sgl.io_type = '1'
and sgl.is_return = '0'
<if
test=
"entity.flag !=null and entity.flag != '' "
>
<if
test=
"entity.flag !=null and entity.flag != '' "
>
and flag = #{entity.flag}
and sgl.flag = #{entity.flag}
</if>
<if
test=
"entity.storeId !=null and entity.storeId != '' "
>
and store_id = #{entity.storeId}
</if>
</if>
<if
test=
"entity.ioType !=null and entity.ioType != '' "
>
<if
test=
"entity.ioType !=null and entity.ioType != '' "
>
and io_type = #{entity.ioType}
and io_type = #{entity.ioType}
...
@@ -55,10 +63,16 @@
...
@@ -55,10 +63,16 @@
<if
test=
"entity.goodsCode !=null and entity.goodsCode != '' "
>
<if
test=
"entity.goodsCode !=null and entity.goodsCode != '' "
>
and goods_code like concat('%',#{entity.goodsCode},'%')
and goods_code like concat('%',#{entity.goodsCode},'%')
</if>
</if>
<if
test=
"entity.applyId !=null and entity.applyId != '' "
>
<if
test=
"entity.appCode !=null and entity.appCode != '' "
>
and apply_id = #{entity.applyId}
and app_code like concat('%',#{entity.appCode},'%')
</if>
<if
test=
"entity.startTime !=null and entity.startTime != '' "
>
and sgl.update_date
>
= #{entity.startTime}
</if>
</if>
ORDER BY business_id DESC
<if
test=
"entity.finishTime !=null and entity.finishTime != '' "
>
and sgl.update_date
<
= DATE_ADD(#{entity.finishTime}, INTERVAL 1 DAY)
</if>
ORDER BY sgl.business_id DESC
</select>
</select>
<select
id=
"queryWmsGoodsLogsPaged"
resultMap=
"BaseResultMap"
>
<select
id=
"queryWmsGoodsLogsPaged"
resultMap=
"BaseResultMap"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment