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
2f77b856
Commit
2f77b856
authored
May 29, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
第一版
parent
22b19ffa
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
375 additions
and
0 deletions
+375
-0
WmsGoodsMapper.xml
src/main/resources/mapper/bus/wmsGoods/WmsGoodsMapper.xml
+92
-0
WmsGoodsApplyMapper.xml
...esources/mapper/bus/wmsGoodsApply/WmsGoodsApplyMapper.xml
+169
-0
WmsGoodsLogMapper.xml
...in/resources/mapper/bus/wmsGoodsLog/WmsGoodsLogMapper.xml
+64
-0
WmsGoodsStockMapper.xml
...esources/mapper/bus/wmsGoodsStock/WmsGoodsStockMapper.xml
+50
-0
No files found.
src/main/resources/mapper/bus/wmsGoods/WmsGoodsMapper.xml
0 → 100644
View file @
2f77b856
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"org.rcisoft.bus.wmsgoods.dao.WmsGoodsRepository"
>
<resultMap
id=
"BaseResultMap"
type=
"org.rcisoft.bus.wmsgoods.entity.WmsGoods"
>
<id
column=
"business_id"
jdbcType=
"INTEGER"
property=
"businessId"
/>
<result
column=
"flag"
jdbcType=
"CHAR"
property=
"flag"
/>
<result
column=
"del_flag"
jdbcType=
"CHAR"
property=
"delFlag"
/>
<result
column=
"create_by"
jdbcType=
"VARCHAR"
property=
"createBy"
/>
<result
column=
"create_date"
jdbcType=
"TIMESTAMP"
property=
"createDate"
/>
<result
column=
"update_by"
jdbcType=
"VARCHAR"
property=
"updateBy"
/>
<result
column=
"update_date"
jdbcType=
"TIMESTAMP"
property=
"updateDate"
/>
<result
column=
"remarks"
jdbcType=
"VARCHAR"
property=
"remarks"
/>
<result
column=
"goods_name"
jdbcType=
"VARCHAR"
property=
"goodsName"
/>
<result
column=
"goods_code"
jdbcType=
"VARCHAR"
property=
"goodsCode"
/>
<result
column=
"goods_type"
jdbcType=
"VARCHAR"
property=
"goodsType"
/>
<result
column=
"goods_article_number"
jdbcType=
"VARCHAR"
property=
"goodsArticleNumber"
/>
<result
column=
"goods_subclass"
jdbcType=
"VARCHAR"
property=
"goodsSubclass"
/>
<result
column=
"goods_colour"
jdbcType=
"VARCHAR"
property=
"goodsColour"
/>
<result
column=
"goods_norms"
jdbcType=
"VARCHAR"
property=
"goodsNorms"
/>
<result
column=
"goods_size"
jdbcType=
"VARCHAR"
property=
"goodsSize"
/>
</resultMap>
<!--<cache type="${corePackag!}.util.RedisCache"/>-->
<select
id=
"queryWmsGoodss"
resultMap=
"BaseResultMap"
>
select * from wms_goods
where 1=1
and del_flag = '0'
<if
test=
"entity.flag !=null and entity.flag != '' "
>
and flag = #{entity.flag}
</if>
<if
test=
"entity.goodsName !=null and entity.goodsName != '' "
>
and goods_name like concat('%',#{entity.goodsName},'%')
</if>
<if
test=
"entity.goodsCode !=null and entity.goodsCode != '' "
>
and goods_code like concat('%',#{entity.goodsCode},'%')
</if>
<if
test=
"entity.goodsType !=null and entity.goodsType != '' "
>
and goods_type like concat('%',#{entity.goodsType},'%')
</if>
<if
test=
"entity.goodsArticleNumber !=null and entity.goodsArticleNumber != '' "
>
and goods_article_number like concat('%',#{entity.goodsArticleNumber},'%')
</if>
<if
test=
"entity.goodsSubclass !=null and entity.goodsSubclass != '' "
>
and goods_subclass like concat('%',#{entity.goodsSubclass},'%')
</if>
<if
test=
"entity.goodsColour !=null and entity.goodsColour != '' "
>
and goods_colour like concat('%',#{entity.goodsColour},'%')
</if>
<if
test=
"entity.goodsNorms !=null and entity.goodsNorms != '' "
>
and goods_norms like concat('%',#{entity.goodsNorms},'%')
</if>
<if
test=
"entity.goodsSize !=null and entity.goodsSize != '' "
>
and goods_size like concat('%',#{entity.goodsSize},'%')
</if>
ORDER BY business_id DESC
</select>
<select
id=
"queryWmsGoodssPaged"
resultMap=
"BaseResultMap"
>
select * from wms_goods
where 1=1
and del_flag = '0'
<if
test=
"entity.flag !=null and entity.flag != '' "
>
and flag = #{entity.flag}
</if>
<if
test=
"entity.goodsName !=null and entity.goodsName != '' "
>
and goods_name like concat('%',#{entity.goodsName},'%')
</if>
<if
test=
"entity.goodsCode !=null and entity.goodsCode != '' "
>
and goods_code like concat('%',#{entity.goodsCode},'%')
</if>
<if
test=
"entity.goodsType !=null and entity.goodsType != '' "
>
and goods_type like concat('%',#{entity.goodsType},'%')
</if>
<if
test=
"entity.goodsArticleNumber !=null and entity.goodsArticleNumber != '' "
>
and goods_article_number like concat('%',#{entity.goodsArticleNumber},'%')
</if>
<if
test=
"entity.goodsSubclass !=null and entity.goodsSubclass != '' "
>
and goods_subclass like concat('%',#{entity.goodsSubclass},'%')
</if>
<if
test=
"entity.goodsColour !=null and entity.goodsColour != '' "
>
and goods_colour like concat('%',#{entity.goodsColour},'%')
</if>
<if
test=
"entity.goodsNorms !=null and entity.goodsNorms != '' "
>
and goods_norms like concat('%',#{entity.goodsNorms},'%')
</if>
<if
test=
"entity.goodsSize !=null and entity.goodsSize != '' "
>
and goods_size like concat('%',#{entity.goodsSize},'%')
</if>
ORDER BY business_id DESC
</select>
</mapper>
\ No newline at end of file
src/main/resources/mapper/bus/wmsGoodsApply/WmsGoodsApplyMapper.xml
0 → 100644
View file @
2f77b856
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"org.rcisoft.bus.wmsgoodsapply.dao.WmsGoodsApplyRepository"
>
<resultMap
id=
"BaseResultMap"
type=
"org.rcisoft.bus.wmsgoodsapply.entity.WmsGoodsApply"
>
<id
column=
"business_id"
jdbcType=
"INTEGER"
property=
"businessId"
/>
<result
column=
"flag"
jdbcType=
"CHAR"
property=
"flag"
/>
<result
column=
"del_flag"
jdbcType=
"CHAR"
property=
"delFlag"
/>
<result
column=
"create_by"
jdbcType=
"VARCHAR"
property=
"createBy"
/>
<result
column=
"create_date"
jdbcType=
"TIMESTAMP"
property=
"createDate"
/>
<result
column=
"update_by"
jdbcType=
"VARCHAR"
property=
"updateBy"
/>
<result
column=
"update_date"
jdbcType=
"TIMESTAMP"
property=
"updateDate"
/>
<result
column=
"remarks"
jdbcType=
"VARCHAR"
property=
"remarks"
/>
<result
column=
"goods_code"
jdbcType=
"VARCHAR"
property=
"goodsCode"
/>
<result
column=
"goods_type"
jdbcType=
"VARCHAR"
property=
"goodsType"
/>
<result
column=
"goods_article_number"
jdbcType=
"VARCHAR"
property=
"goodsArticleNumber"
/>
<result
column=
"goods_subclass"
jdbcType=
"VARCHAR"
property=
"goodsSubclass"
/>
<result
column=
"goods_colour"
jdbcType=
"VARCHAR"
property=
"goodsColour"
/>
<result
column=
"goods_norms"
jdbcType=
"VARCHAR"
property=
"goodsNorms"
/>
<result
column=
"goods_size"
jdbcType=
"VARCHAR"
property=
"goodsSize"
/>
<result
column=
"io_type"
jdbcType=
"CHAR"
property=
"ioType"
/>
<result
column=
"deal_status"
jdbcType=
"CHAR"
property=
"dealStatus"
/>
<result
column=
"sure_status"
jdbcType=
"CHAR"
property=
"sureStatus"
/>
<result
column=
"goods_counts"
jdbcType=
"INTEGER"
property=
"goodsCounts"
/>
<result
column=
"app_code"
jdbcType=
"VARCHAR"
property=
"appCode"
/>
<result
column=
"shipper"
jdbcType=
"VARCHAR"
property=
"shipper"
/>
<result
column=
"shipper_address"
jdbcType=
"VARCHAR"
property=
"shipperAddress"
/>
<result
column=
"shipper_phone"
jdbcType=
"VARCHAR"
property=
"shipperPhone"
/>
<result
column=
"goods_check"
jdbcType=
"CHAR"
property=
"goodsCheck"
/>
<result
column=
"salesman"
jdbcType=
"VARCHAR"
property=
"salesman"
/>
<result
column=
"maker"
jdbcType=
"VARCHAR"
property=
"maker"
/>
</resultMap>
<insert
id=
"batchAdd"
>
insert into wms_goods_apply(flag,del_flag,create_by,create_date,update_by,update_date,remarks,goods_code,goods_type,goods_article_number,goods_subclass,
goods_colour,goods_norms,goods_size,io_type,deal_status,sure_status,goods_counts,shipper,shipper_address,shipper_phone,goods_check,salesman,maker) values
<foreach
collection=
"list"
item=
"item"
separator=
","
>
(#{item.flag},#{item.delFlag},#{item.createBy},#{item.createDate},#{item.updateBy},#{item.updateDate},#{item.remarks},#{item.goods_code},#{item.goods_type},#{item.goods_article_number},#{item.goods_subclass},
#{item.goods_colour},#{item.goods_norms},#{item.goods_size},#{item.io_type},#{item.},#{item.deal_status},#{item.goods_counts},#{item.shipper},#{item.shipper_address},#{item.shipper_phone},
#{item.goods_check},#{item.salesman},#{item.maker})
</foreach></insert>
<!--<cache type="${corePackag!}.util.RedisCache"/>-->
<select
id=
"queryWmsGoodsApplys"
resultMap=
"BaseResultMap"
>
select * from wms_goods_apply
where 1=1
and del_flag = '0'
<if
test=
"entity.flag !=null and entity.flag != '' "
>
and flag = #{entity.flag}
</if>
<if
test=
"entity.goodsCode !=null and entity.goodsCode != '' "
>
and goods_code like concat('%',#{entity.goodsCode},'%')
</if>
<if
test=
"entity.goodsType !=null and entity.goodsType != '' "
>
and goods_type like concat('%',#{entity.goodsType},'%')
</if>
<if
test=
"entity.goodsArticleNumber !=null and entity.goodsArticleNumber != '' "
>
and goods_article_number like concat('%',#{entity.goodsArticleNumber},'%')
</if>
<if
test=
"entity.goodsSubclass !=null and entity.goodsSubclass != '' "
>
and goods_subclass like concat('%',#{entity.goodsSubclass},'%')
</if>
<if
test=
"entity.goodsColour !=null and entity.goodsColour != '' "
>
and goods_colour like concat('%',#{entity.goodsColour},'%')
</if>
<if
test=
"entity.goodsNorms !=null and entity.goodsNorms != '' "
>
and goods_norms like concat('%',#{entity.goodsNorms},'%')
</if>
<if
test=
"entity.goodsSize !=null and entity.goodsSize != '' "
>
and goods_size like concat('%',#{entity.goodsSize},'%')
</if>
<if
test=
"entity.ioType !=null and entity.ioType != '' "
>
and io_type = #{entity.ioType}
</if>
<if
test=
"entity.dealStatus !=null and entity.dealStatus != '' "
>
and deal_status = #{entity.dealStatus}
</if>
<if
test=
"entity.sureStatus !=null and entity.sureStatus != '' "
>
and sure_status = #{entity.sureStatus}
</if>
<if
test=
"entity.goodsCounts !=null and entity.goodsCounts != '' "
>
and goods_counts = #{entity.goodsCounts}
</if>
<if
test=
"entity.appCode !=null and entity.appCode != '' "
>
and app_code like concat('%',#{entity.appCode},'%')
</if>
<if
test=
"entity.shipper !=null and entity.shipper != '' "
>
and shipper like concat('%',#{entity.shipper},'%')
</if>
<if
test=
"entity.shipperAddress !=null and entity.shipperAddress != '' "
>
and shipper_address like concat('%',#{entity.shipperAddress},'%')
</if>
<if
test=
"entity.shipperPhone !=null and entity.shipperPhone != '' "
>
and shipper_phone = #{entity.shipperPhone}
</if>
<if
test=
"entity.goodsCheck !=null and entity.goodsCheck != '' "
>
and goods_check = #{entity.goodsCheck}
</if>
<if
test=
"entity.salesman !=null and entity.salesman != '' "
>
and salesman like concat('%',#{entity.salesman},'%')
</if>
<if
test=
"entity.maker !=null and entity.maker != '' "
>
and maker like concat('%',#{entity.maker},'%')
</if>
ORDER BY business_id DESC
</select>
<select
id=
"queryWmsGoodsApplysPaged"
resultMap=
"BaseResultMap"
>
select * from wms_goods_apply
where 1=1
and del_flag = '0'
<if
test=
"entity.flag !=null and entity.flag != '' "
>
and flag = #{entity.flag}
</if>
<if
test=
"entity.goodsCode !=null and entity.goodsCode != '' "
>
and goods_code like concat('%',#{entity.goodsCode},'%')
</if>
<if
test=
"entity.goodsType !=null and entity.goodsType != '' "
>
and goods_type like concat('%',#{entity.goodsType},'%')
</if>
<if
test=
"entity.goodsArticleNumber !=null and entity.goodsArticleNumber != '' "
>
and goods_article_number like concat('%',#{entity.goodsArticleNumber},'%')
</if>
<if
test=
"entity.goodsSubclass !=null and entity.goodsSubclass != '' "
>
and goods_subclass like concat('%',#{entity.goodsSubclass},'%')
</if>
<if
test=
"entity.goodsColour !=null and entity.goodsColour != '' "
>
and goods_colour like concat('%',#{entity.goodsColour},'%')
</if>
<if
test=
"entity.goodsNorms !=null and entity.goodsNorms != '' "
>
and goods_norms like concat('%',#{entity.goodsNorms},'%')
</if>
<if
test=
"entity.goodsSize !=null and entity.goodsSize != '' "
>
and goods_size like concat('%',#{entity.goodsSize},'%')
</if>
<if
test=
"entity.ioType !=null and entity.ioType != '' "
>
and io_type = #{entity.ioType}
</if>
<if
test=
"entity.dealStatus !=null and entity.dealStatus != '' "
>
and deal_status = #{entity.dealStatus}
</if>
<if
test=
"entity.sureStatus !=null and entity.sureStatus != '' "
>
and sure_status = #{entity.sureStatus}
</if>
<if
test=
"entity.goodsCounts !=null and entity.goodsCounts != '' "
>
and goods_counts = #{entity.goodsCounts}
</if>
<if
test=
"entity.appCode !=null and entity.appCode != '' "
>
and app_code like concat('%',#{entity.appCode},'%')
</if>
<if
test=
"entity.shipper !=null and entity.shipper != '' "
>
and shipper like concat('%',#{entity.shipper},'%')
</if>
<if
test=
"entity.shipperAddress !=null and entity.shipperAddress != '' "
>
and shipper_address like concat('%',#{entity.shipperAddress},'%')
</if>
<if
test=
"entity.shipperPhone !=null and entity.shipperPhone != '' "
>
and shipper_phone = #{entity.shipperPhone}
</if>
<if
test=
"entity.goodsCheck !=null and entity.goodsCheck != '' "
>
and goods_check = #{entity.goodsCheck}
</if>
<if
test=
"entity.salesman !=null and entity.salesman != '' "
>
and salesman like concat('%',#{entity.salesman},'%')
</if>
<if
test=
"entity.maker !=null and entity.maker != '' "
>
and maker like concat('%',#{entity.maker},'%')
</if>
ORDER BY business_id DESC
</select>
</mapper>
src/main/resources/mapper/bus/wmsGoodsLog/WmsGoodsLogMapper.xml
0 → 100644
View file @
2f77b856
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"org.rcisoft.bus.wmsgoodslog.dao.WmsGoodsLogRepository"
>
<resultMap
id=
"BaseResultMap"
type=
"org.rcisoft.bus.wmsgoodslog.entity.WmsGoodsLog"
>
<id
column=
"business_id"
jdbcType=
"INTEGER"
property=
"businessId"
/>
<result
column=
"flag"
jdbcType=
"CHAR"
property=
"flag"
/>
<result
column=
"del_flag"
jdbcType=
"CHAR"
property=
"delFlag"
/>
<result
column=
"create_by"
jdbcType=
"VARCHAR"
property=
"createBy"
/>
<result
column=
"create_date"
jdbcType=
"TIMESTAMP"
property=
"createDate"
/>
<result
column=
"update_by"
jdbcType=
"VARCHAR"
property=
"updateBy"
/>
<result
column=
"update_date"
jdbcType=
"TIMESTAMP"
property=
"updateDate"
/>
<result
column=
"remarks"
jdbcType=
"VARCHAR"
property=
"remarks"
/>
<result
column=
"io_type"
jdbcType=
"CHAR"
property=
"ioType"
/>
<result
column=
"goods_id"
jdbcType=
"INTEGER"
property=
"goodsId"
/>
<result
column=
"goods_name"
jdbcType=
"VARCHAR"
property=
"goodsName"
/>
<result
column=
"goods_code"
jdbcType=
"VARCHAR"
property=
"goodsCode"
/>
</resultMap>
<!--<cache type="${corePackag!}.util.RedisCache"/>-->
<select
id=
"queryWmsGoodsLogs"
resultMap=
"BaseResultMap"
>
select * from wms_goods_log
where 1=1
and del_flag = '0'
<if
test=
"entity.flag !=null and entity.flag != '' "
>
and flag = #{entity.flag}
</if>
<if
test=
"entity.ioType !=null and entity.ioType != '' "
>
and io_type = #{entity.ioType}
</if>
<if
test=
"entity.goodsId !=null and entity.goodsId != '' "
>
and goods_id = #{entity.goodsId}
</if>
<if
test=
"entity.goodsName !=null and entity.goodsName != '' "
>
and goods_name like concat('%',#{entity.goodsName},'%')
</if>
<if
test=
"entity.goodsCode !=null and entity.goodsCode != '' "
>
and goods_code like concat('%',#{entity.goodsCode},'%')
</if>
ORDER BY business_id DESC
</select>
<select
id=
"queryWmsGoodsLogsPaged"
resultMap=
"BaseResultMap"
>
select * from wms_goods_log
where 1=1
and del_flag = '0'
<if
test=
"entity.flag !=null and entity.flag != '' "
>
and flag = #{entity.flag}
</if>
<if
test=
"entity.ioType !=null and entity.ioType != '' "
>
and io_type = #{entity.ioType}
</if>
<if
test=
"entity.goodsId !=null and entity.goodsId != '' "
>
and goods_id = #{entity.goodsId}
</if>
<if
test=
"entity.goodsName !=null and entity.goodsName != '' "
>
and goods_name like concat('%',#{entity.goodsName},'%')
</if>
<if
test=
"entity.goodsCode !=null and entity.goodsCode != '' "
>
and goods_code like concat('%',#{entity.goodsCode},'%')
</if>
ORDER BY business_id DESC
</select>
</mapper>
\ No newline at end of file
src/main/resources/mapper/bus/wmsGoodsStock/WmsGoodsStockMapper.xml
0 → 100644
View file @
2f77b856
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"org.rcisoft.bus.wmsgoodsstock.dao.WmsGoodsStockRepository"
>
<resultMap
id=
"BaseResultMap"
type=
"org.rcisoft.bus.wmsgoodsstock.entity.WmsGoodsStock"
>
<id
column=
"business_id"
jdbcType=
"INTEGER"
property=
"businessId"
/>
<result
column=
"flag"
jdbcType=
"CHAR"
property=
"flag"
/>
<result
column=
"del_flag"
jdbcType=
"CHAR"
property=
"delFlag"
/>
<result
column=
"create_by"
jdbcType=
"VARCHAR"
property=
"createBy"
/>
<result
column=
"create_date"
jdbcType=
"TIMESTAMP"
property=
"createDate"
/>
<result
column=
"update_by"
jdbcType=
"VARCHAR"
property=
"updateBy"
/>
<result
column=
"update_date"
jdbcType=
"TIMESTAMP"
property=
"updateDate"
/>
<result
column=
"remarks"
jdbcType=
"VARCHAR"
property=
"remarks"
/>
<result
column=
"goods_id"
jdbcType=
"INTEGER"
property=
"goodsId"
/>
<result
column=
"goods_counts"
jdbcType=
"INTEGER"
property=
"goodsCounts"
/>
</resultMap>
<!--<cache type="${corePackag!}.util.RedisCache"/>-->
<select
id=
"queryWmsGoodsStocks"
resultMap=
"BaseResultMap"
>
select * from wms_goods_stock
where 1=1
and del_flag = '0'
<if
test=
"entity.flag !=null and entity.flag != '' "
>
and flag = #{entity.flag}
</if>
<if
test=
"entity.goodsId !=null and entity.goodsId != '' "
>
and goods_id = #{entity.goodsId}
</if>
<if
test=
"entity.goodsCounts !=null and entity.goodsCounts != '' "
>
and goods_counts = #{entity.goodsCounts}
</if>
ORDER BY business_id DESC
</select>
<select
id=
"queryWmsGoodsStocksPaged"
resultMap=
"BaseResultMap"
>
select * from wms_goods_stock
where 1=1
and del_flag = '0'
<if
test=
"entity.flag !=null and entity.flag != '' "
>
and flag = #{entity.flag}
</if>
<if
test=
"entity.goodsId !=null and entity.goodsId != '' "
>
and goods_id = #{entity.goodsId}
</if>
<if
test=
"entity.goodsCounts !=null and entity.goodsCounts != '' "
>
and goods_counts = #{entity.goodsCounts}
</if>
ORDER BY business_id DESC
</select>
</mapper>
\ No newline at end of file
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