Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
jiayanWMS
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
李炎
jiayanWMS
Commits
384bdc3f
提交
384bdc3f
authored
8月 24, 2021
作者:
李炎
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.1
上级
2a9a5339
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
51 个修改的文件
包含
2076 行增加
和
200 行删除
+2076
-200
HouseLocationReadyController.java
...ost/basedata/controller/HouseLocationReadyController.java
+66
-0
HouseRelocationController.java
...s/iost/basedata/controller/HouseRelocationController.java
+117
-118
HouseSaleDetailedController.java
...iost/basedata/controller/HouseSaleDetailedController.java
+112
-0
HouseWarehouseController.java
...es/iost/basedata/controller/HouseWarehouseController.java
+7
-2
HouseWarehousingController.java
.../iost/basedata/controller/HouseWarehousingController.java
+0
-0
HouseWarehousingLocationController.java
...sedata/controller/HouseWarehousingLocationController.java
+24
-0
HouseWorkPickingController.java
.../iost/basedata/controller/HouseWorkPickingController.java
+156
-0
HouseWorkScanningController.java
...iost/basedata/controller/HouseWorkScanningController.java
+154
-0
InfoTest.java
.../org/jeecg/modules/iost/basedata/controller/InfoTest.java
+43
-0
HouseLingjianhuo.java
.../jeecg/modules/iost/basedata/entity/HouseLingjianhuo.java
+7
-7
HouseLocationReady.java
...eecg/modules/iost/basedata/entity/HouseLocationReady.java
+120
-0
HouseProduct.java
.../org/jeecg/modules/iost/basedata/entity/HouseProduct.java
+8
-2
HouseRelocation.java
...g/jeecg/modules/iost/basedata/entity/HouseRelocation.java
+3
-3
HouseSaleDetailed.java
...jeecg/modules/iost/basedata/entity/HouseSaleDetailed.java
+106
-0
HouseWarehousing.java
.../jeecg/modules/iost/basedata/entity/HouseWarehousing.java
+122
-32
HouseWarehousingLocation.java
...odules/iost/basedata/entity/HouseWarehousingLocation.java
+76
-0
HouseWorkPicking.java
.../jeecg/modules/iost/basedata/entity/HouseWorkPicking.java
+104
-0
HouseWorkScanning.java
...jeecg/modules/iost/basedata/entity/HouseWorkScanning.java
+105
-0
HouseLocationReadyMapper.java
...odules/iost/basedata/mapper/HouseLocationReadyMapper.java
+20
-0
HouseSaleDetailedMapper.java
...modules/iost/basedata/mapper/HouseSaleDetailedMapper.java
+15
-0
HouseWarehousingLocationMapper.java
.../iost/basedata/mapper/HouseWarehousingLocationMapper.java
+15
-0
HouseWarehousingMapper.java
.../modules/iost/basedata/mapper/HouseWarehousingMapper.java
+2
-0
HouseWorkPickingMapper.java
.../modules/iost/basedata/mapper/HouseWorkPickingMapper.java
+15
-0
HouseWorkScanningMapper.java
...modules/iost/basedata/mapper/HouseWorkScanningMapper.java
+14
-0
HouseLocationReadyMapper.xml
...les/iost/basedata/mapper/xml/HouseLocationReadyMapper.xml
+14
-0
HouseSaleDetailedMapper.xml
...ules/iost/basedata/mapper/xml/HouseSaleDetailedMapper.xml
+6
-0
HouseWarehouseMapper.xml
...modules/iost/basedata/mapper/xml/HouseWarehouseMapper.xml
+2
-1
HouseWarehousingLocationMapper.xml
...st/basedata/mapper/xml/HouseWarehousingLocationMapper.xml
+6
-0
HouseWarehousingMapper.xml
...dules/iost/basedata/mapper/xml/HouseWarehousingMapper.xml
+18
-7
HouseWorkPickingMapper.xml
...dules/iost/basedata/mapper/xml/HouseWorkPickingMapper.xml
+6
-0
HouseWorkScanningMapper.xml
...ules/iost/basedata/mapper/xml/HouseWorkScanningMapper.xml
+6
-0
HouseILocationReadyService.java
...les/iost/basedata/service/HouseILocationReadyService.java
+16
-0
HouseISaleDetailedService.java
...ules/iost/basedata/service/HouseISaleDetailedService.java
+15
-0
HouseIWarehousingLocationService.java
...st/basedata/service/HouseIWarehousingLocationService.java
+14
-0
HouseIWorkPickingService.java
...dules/iost/basedata/service/HouseIWorkPickingService.java
+15
-0
HouseIWorkScanningService.java
...ules/iost/basedata/service/HouseIWorkScanningService.java
+15
-0
HouseLocationReadyServiceImpl.java
.../basedata/service/impl/HouseLocationReadyServiceImpl.java
+30
-0
HouseSaleDetailedServiceImpl.java
...t/basedata/service/impl/HouseSaleDetailedServiceImpl.java
+18
-0
HouseWarehousingLocationServiceImpl.java
...ata/service/impl/HouseWarehousingLocationServiceImpl.java
+23
-0
HouseWarehousingServiceImpl.java
...st/basedata/service/impl/HouseWarehousingServiceImpl.java
+2
-2
HouseWorkPickingServiceServiceImpl.java
...data/service/impl/HouseWorkPickingServiceServiceImpl.java
+23
-0
HouseWorkScanningServiceImpl.java
...t/basedata/service/impl/HouseWorkScanningServiceImpl.java
+20
-0
HouseSaleDetailedVo.java
...g/jeecg/modules/iost/basedata/vo/HouseSaleDetailedVo.java
+83
-0
HouseWarehousingPage.java
.../jeecg/modules/iost/basedata/vo/HouseWarehousingPage.java
+160
-0
HouseWarehousingVOs.java
...g/jeecg/modules/iost/basedata/vo/HouseWarehousingVOs.java
+44
-0
WareHouseInfoPage.java
...org/jeecg/modules/iost/basedata/vo/WareHouseInfoPage.java
+22
-0
WareInfoPage.java
...java/org/jeecg/modules/iost/basedata/vo/WareInfoPage.java
+34
-0
LoginController.java
.../org/jeecg/modules/system/controller/LoginController.java
+18
-16
HousePDALoginVO.java
...ain/java/org/jeecg/modules/system/vo/HousePDALoginVO.java
+36
-0
application-test.yml
...oot-module-system/src/main/resources/application-test.yml
+5
-0
SecurityToolsTest.java
...ule-system/src/test/java/org/jeecg/SecurityToolsTest.java
+14
-10
没有找到文件。
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/controller/HouseLocationReadyController.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
controller
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
import
org.jeecg.common.api.vo.Result
;
import
org.jeecg.common.aspect.annotation.AutoLog
;
import
org.jeecg.common.system.base.controller.JeecgController
;
import
org.jeecg.modules.iost.basedata.entity.HouseLocationReady
;
import
org.jeecg.modules.iost.basedata.entity.HouseWarehouse
;
import
org.jeecg.modules.iost.basedata.service.HouseILocationReadyService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
import
java.util.Map
;
/**
* @Description: 入库单-待上架明细
* @Author: jeecg-boot
* @Date: 2021-07-27
* @Version: V1.0
*/
@Api
(
tags
=
"入库单-待上架明细"
)
@RestController
@RequestMapping
(
"/basedata/locationready"
)
@Slf4j
public
class
HouseLocationReadyController
extends
JeecgController
<
HouseLocationReady
,
HouseILocationReadyService
>
{
@Autowired
private
HouseILocationReadyService
locationReadyService
;
/**
* @param ready
* @return
*/
@AutoLog
(
value
=
"入库单待上架明细-是否入库单产品"
)
@ApiOperation
(
value
=
"入库单待上架明细-是否入库单产品"
,
notes
=
"入库单待上架明细-是否入库单产品"
)
@PostMapping
(
value
=
"/checkislocation"
)
public
Result
<
Object
>
checkislocation
(
@RequestBody
HouseLocationReady
ready
)
{
Result
<
Object
>
result
=
new
Result
<>();
QueryWrapper
<
HouseLocationReady
>
locationReady
=
new
QueryWrapper
<
HouseLocationReady
>()
.
eq
(
"Warehousing_Id"
,
ready
.
getWarehousingId
());
//入库单号
locationReady
.
eq
(
"PurchaseId"
,
ready
.
getPurchaseid
());
//采购单号
locationReady
.
eq
(
"Productcode_Id"
,
ready
.
getProductcodeId
());
//产品编码
locationReady
.
eq
(
"Productname"
,
ready
.
getProductname
());
//产品名称
locationReady
.
eq
(
"Productnotes"
,
ready
.
getProductnotes
());
//功效
List
<
HouseLocationReady
>
list
=
locationReadyService
.
getBaseMapper
().
selectList
(
locationReady
);
System
.
out
.
println
(
list
.
size
());
if
(
list
.
size
()
>=
1
)
{
HouseLocationReady
houseLocationReady
=
list
.
get
(
0
);
Integer
productnumber1
=
ready
.
getProductnumber
();
//预上架数
Integer
waitingnumber
=
houseLocationReady
.
getWaitingnumber
();
//明细待上架数
Integer
productnumber
=
houseLocationReady
.
getProductnumber
();
//已上架数
if
(
productnumber
+
productnumber1
<=
waitingnumber
)
return
result
.
OK
(
"可入库"
);
else
return
result
.
error
(
"超出入库单数量"
);
}
if
(
list
==
null
||
list
.
size
()==
0
)
{
return
result
.
error
(
"入库单不存在该产品"
);
}
result
.
OK
(
"可入库"
);
// result.success("");
return
result
;
}
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/controller/HouseRelocationController.java
浏览文件 @
384bdc3f
...
...
@@ -21,137 +21,136 @@ import javax.servlet.http.HttpServletResponse;
import
java.util.Arrays
;
/**
* @Description: 移库记录表
* @Author: jeecg-boot
* @Date:
2021-06-07
* @Version: V1.0
*/
@Api
(
tags
=
"移库记录表"
)
* @Description: 移库记录表
* @Author: jeecg-boot
* @Date:
2021-06-07
* @Version: V1.0
*/
@Api
(
tags
=
"移库记录表"
)
@RestController
@RequestMapping
(
"/basedata/relocation"
)
@Slf4j
public
class
HouseRelocationController
extends
JeecgController
<
HouseRelocation
,
HouseIRelocationService
>
{
@Autowired
private
HouseIRelocationService
relocationService
;
@Autowired
private
HouseIRelocationService
relocationService
;
/**
* 分页列表查询
*
* @param relocation
* @param pageNo
* @param pageSize
* @param req
* @return
*/
@AutoLog
(
value
=
"移库记录表-分页列表查询"
)
@ApiOperation
(
value
=
"移库记录表-分页列表查询"
,
notes
=
"移库记录表-分页列表查询"
)
@GetMapping
(
value
=
"/list"
)
public
Result
<?>
queryPageList
(
HouseRelocation
relocation
,
@RequestParam
(
name
=
"pageNo"
,
defaultValue
=
"1"
)
Integer
pageNo
,
@RequestParam
(
name
=
"pageSize"
,
defaultValue
=
"10"
)
Integer
pageSize
,
HttpServletRequest
req
)
{
QueryWrapper
<
HouseRelocation
>
queryWrapper
=
QueryGenerator
.
initQueryWrapper
(
relocation
,
req
.
getParameterMap
());
Page
<
HouseRelocation
>
page
=
new
Page
<
HouseRelocation
>(
pageNo
,
pageSize
);
IPage
<
HouseRelocation
>
pageList
=
relocationService
.
page
(
page
,
queryWrapper
);
return
Result
.
OK
(
pageList
);
}
/**
* 分页列表查询
*
* @param relocation
* @param pageNo
* @param pageSize
* @param req
* @return
*/
@AutoLog
(
value
=
"移库记录表-分页列表查询"
)
@ApiOperation
(
value
=
"移库记录表-分页列表查询"
,
notes
=
"移库记录表-分页列表查询"
)
@GetMapping
(
value
=
"/list"
)
public
Result
<?>
queryPageList
(
HouseRelocation
relocation
,
@RequestParam
(
name
=
"pageNo"
,
defaultValue
=
"1"
)
Integer
pageNo
,
@RequestParam
(
name
=
"pageSize"
,
defaultValue
=
"10"
)
Integer
pageSize
,
HttpServletRequest
req
)
{
QueryWrapper
<
HouseRelocation
>
queryWrapper
=
QueryGenerator
.
initQueryWrapper
(
relocation
,
req
.
getParameterMap
());
Page
<
HouseRelocation
>
page
=
new
Page
<
HouseRelocation
>(
pageNo
,
pageSize
);
IPage
<
HouseRelocation
>
pageList
=
relocationService
.
page
(
page
,
queryWrapper
);
return
Result
.
OK
(
pageList
);
}
/**
*
添加
*
* @param relocation
* @return
*/
@AutoLog
(
value
=
"移库记录表-添加"
)
@ApiOperation
(
value
=
"移库记录表-添加"
,
notes
=
"移库记录表-添加"
)
@PostMapping
(
value
=
"/add"
)
public
Result
<?>
add
(
@RequestBody
HouseRelocation
relocation
)
{
relocationService
.
save
(
relocation
);
return
Result
.
OK
(
"添加成功!"
);
}
/**
*
添加
*
* @param relocation
* @return
*/
@AutoLog
(
value
=
"移库记录表-添加"
)
@ApiOperation
(
value
=
"移库记录表-添加"
,
notes
=
"移库记录表-添加"
)
@PostMapping
(
value
=
"/add"
)
public
Result
<?>
add
(
@RequestBody
HouseRelocation
relocation
)
{
relocationService
.
save
(
relocation
);
return
Result
.
OK
(
"添加成功!"
);
}
/**
* 编辑
*
* @param relocation
* @return
*/
@AutoLog
(
value
=
"移库记录表-编辑"
)
@ApiOperation
(
value
=
"移库记录表-编辑"
,
notes
=
"移库记录表-编辑"
)
@PutMapping
(
value
=
"/edit"
)
public
Result
<?>
edit
(
@RequestBody
HouseRelocation
relocation
)
{
relocationService
.
updateById
(
relocation
);
return
Result
.
OK
(
"编辑成功!"
);
}
/**
* 编辑
*
* @param relocation
* @return
*/
@AutoLog
(
value
=
"移库记录表-编辑
"
)
@ApiOperation
(
value
=
"移库记录表-编辑"
,
notes
=
"移库记录表-编辑
"
)
@PutMapping
(
value
=
"/edit
"
)
public
Result
<?>
edit
(
@RequestBody
HouseRelocation
relocation
)
{
relocationService
.
updateById
(
relocation
);
return
Result
.
OK
(
"编辑
成功!"
);
}
/**
* 通过id删除
*
* @param id
* @return
*/
@AutoLog
(
value
=
"移库记录表-通过id删除
"
)
@ApiOperation
(
value
=
"移库记录表-通过id删除"
,
notes
=
"移库记录表-通过id删除
"
)
@DeleteMapping
(
value
=
"/delete
"
)
public
Result
<?>
delete
(
@RequestParam
(
name
=
"id"
,
required
=
true
)
String
id
)
{
relocationService
.
removeById
(
id
);
return
Result
.
OK
(
"删除
成功!"
);
}
/**
* 通过id
删除
*
* @param id
* @return
*/
@AutoLog
(
value
=
"移库记录表-通过id
删除"
)
@ApiOperation
(
value
=
"移库记录表-通过id删除"
,
notes
=
"移库记录表-通过id
删除"
)
@DeleteMapping
(
value
=
"/delete
"
)
public
Result
<?>
delete
(
@RequestParam
(
name
=
"id"
,
required
=
true
)
String
id
)
{
relocationService
.
removeById
(
id
);
return
Result
.
OK
(
"
删除成功!"
);
}
/**
* 批量
删除
*
* @param ids
* @return
*/
@AutoLog
(
value
=
"移库记录表-批量
删除"
)
@ApiOperation
(
value
=
"移库记录表-批量删除"
,
notes
=
"移库记录表-批量
删除"
)
@DeleteMapping
(
value
=
"/deleteBatch
"
)
public
Result
<?>
deleteBatch
(
@RequestParam
(
name
=
"ids"
,
required
=
true
)
String
ids
)
{
this
.
relocationService
.
removeByIds
(
Arrays
.
asList
(
ids
.
split
(
","
))
);
return
Result
.
OK
(
"批量
删除成功!"
);
}
/**
* 批量删除
*
* @param ids
* @return
*/
@AutoLog
(
value
=
"移库记录表-批量删除"
)
@ApiOperation
(
value
=
"移库记录表-批量删除"
,
notes
=
"移库记录表-批量删除"
)
@DeleteMapping
(
value
=
"/deleteBatch"
)
public
Result
<?>
deleteBatch
(
@RequestParam
(
name
=
"ids"
,
required
=
true
)
String
ids
)
{
this
.
relocationService
.
removeByIds
(
Arrays
.
asList
(
ids
.
split
(
","
)));
return
Result
.
OK
(
"批量删除成功!"
);
}
/**
* 通过id查询
*
* @param id
* @return
*/
@AutoLog
(
value
=
"移库记录表-通过id查询"
)
@ApiOperation
(
value
=
"移库记录表-通过id查询"
,
notes
=
"移库记录表-通过id查询"
)
@GetMapping
(
value
=
"/queryById"
)
public
Result
<?>
queryById
(
@RequestParam
(
name
=
"id"
,
required
=
true
)
String
id
)
{
HouseRelocation
relocation
=
relocationService
.
getById
(
id
);
if
(
relocation
==
null
)
{
return
Result
.
error
(
"未找到对应数据"
);
}
return
Result
.
OK
(
relocation
);
}
/**
* 通过id查询
*
* @param id
* @return
*/
@AutoLog
(
value
=
"移库记录表-通过id查询"
)
@ApiOperation
(
value
=
"移库记录表-通过id查询"
,
notes
=
"移库记录表-通过id查询"
)
@GetMapping
(
value
=
"/queryById"
)
public
Result
<?>
queryById
(
@RequestParam
(
name
=
"id"
,
required
=
true
)
String
id
)
{
HouseRelocation
relocation
=
relocationService
.
getById
(
id
);
if
(
relocation
==
null
)
{
return
Result
.
error
(
"未找到对应数据"
);
}
return
Result
.
OK
(
relocation
);
}
/**
* 导出excel
*
* @param request
* @param relocation
*/
@RequestMapping
(
value
=
"/exportXls"
)
public
ModelAndView
exportXls
(
HttpServletRequest
request
,
HouseRelocation
relocation
)
{
return
super
.
exportXls
(
request
,
relocation
,
HouseRelocation
.
class
,
"移库记录表"
);
}
/**
* 导出excel
*
* @param request
* @param relocation
*/
@RequestMapping
(
value
=
"/exportXls"
)
public
ModelAndView
exportXls
(
HttpServletRequest
request
,
HouseRelocation
relocation
)
{
return
super
.
exportXls
(
request
,
relocation
,
HouseRelocation
.
class
,
"移库记录表"
);
}
/**
/**
* 通过excel导入数据
*
* @param request
* @param response
* @return
*/
@RequestMapping
(
value
=
"/importExcel"
,
method
=
RequestMethod
.
POST
)
public
Result
<?>
importExcel
(
HttpServletRequest
request
,
HttpServletResponse
response
)
{
return
super
.
importExcel
(
request
,
response
,
HouseRelocation
.
class
);
}
*
* @param request
* @param response
* @return
*/
@RequestMapping
(
value
=
"/importExcel"
,
method
=
RequestMethod
.
POST
)
public
Result
<?>
importExcel
(
HttpServletRequest
request
,
HttpServletResponse
response
)
{
return
super
.
importExcel
(
request
,
response
,
HouseRelocation
.
class
);
}
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/controller/HouseSaleDetailedController.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
controller
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
import
org.jeecg.common.api.vo.Result
;
import
org.jeecg.common.aspect.annotation.AutoLog
;
import
org.jeecg.common.system.base.controller.JeecgController
;
import
org.jeecg.modules.iost.basedata.entity.HouseRelocation
;
import
org.jeecg.modules.iost.basedata.entity.HouseSaleDetailed
;
import
org.jeecg.modules.iost.basedata.entity.HouseWarehousing
;
import
org.jeecg.modules.iost.basedata.service.HouseIRelocationService
;
import
org.jeecg.modules.iost.basedata.service.HouseISaleDetailedService
;
import
org.jeecg.modules.iost.basedata.service.HouseIWarehousingService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.web.bind.annotation.*
;
import
javax.swing.plaf.basic.BasicScrollPaneUI
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.Map
;
/**
* @Description: 销售单-拣货产品明细
* @Author: jeecg-boot
* @Date: 2021-07-27
* @Version: V1.0
*/
@Api
(
tags
=
"销售单-拣货产品明细"
)
@RestController
@RequestMapping
(
"/basedata/saledetailed"
)
@Slf4j
public
class
HouseSaleDetailedController
extends
JeecgController
<
HouseSaleDetailed
,
HouseISaleDetailedService
>
{
@Autowired
private
HouseISaleDetailedService
saleService
;
@Autowired
private
HouseIWarehousingService
warehousingService
;
/**
* 通过拣货单号查询
*
* @param Pickingid
* @return
*/
@AutoLog
(
value
=
"拣货产品明细列表-通过拣货单号查询"
)
@ApiOperation
(
value
=
"拣货产品明细列表-通过拣货单号查询"
,
notes
=
"拣货产品明细列表-通过拣货单号查询"
)
@GetMapping
(
value
=
"/querypositionid"
)
public
Result
<?>
querypositionid
(
@RequestParam
(
name
=
"Pickingid"
,
required
=
true
)
String
Pickingid
)
{
List
<
HouseSaleDetailed
>
list
=
saleService
.
list
(
new
QueryWrapper
<
HouseSaleDetailed
>().
eq
(
"Pickingid"
,
Pickingid
));
// List<HouseSaleDetailed> list = saleService.getBaseMapper().selectList(new QueryWrapper<HouseSaleDetailed>().eq("Pickingid", Pickingid));
if
(
list
==
null
||
list
.
isEmpty
())
{
return
Result
.
error
(
"未找到对应数据"
);
}
return
Result
.
OK
(
list
);
}
/**
* 通过拣货单号查询
*
* @param Pickingid
* @return
*/
@AutoLog
(
value
=
"拣货产品明细列表-通过拣货单号查询"
)
@ApiOperation
(
value
=
"拣货产品明细列表-通过拣货单号查询"
,
notes
=
"拣货产品明细列表-通过拣货单号查询"
)
@GetMapping
(
value
=
"/querypositionidT"
)
public
Result
<?>
querypositionidT
(
@RequestParam
(
name
=
"Pickingid"
,
required
=
true
)
String
Pickingid
)
{
List
<
HouseSaleDetailed
>
list
=
saleService
.
list
(
new
QueryWrapper
<
HouseSaleDetailed
>().
eq
(
"Pickingid"
,
Pickingid
));
// List<HouseSaleDetailed> list = saleService.getBaseMapper().selectList(new QueryWrapper<HouseSaleDetailed>().eq("Pickingid", Pickingid));
List
<
Integer
>
houseWarehousingListIds
=
new
ArrayList
<
Integer
>();
for
(
HouseSaleDetailed
houseSaleDetailed
:
list
)
{
houseWarehousingListIds
.
add
(
houseSaleDetailed
.
getWarehousingId
());
}
List
<
HouseWarehousing
>
houseWarehousingList
=
new
ArrayList
<
HouseWarehousing
>();
if
(!
houseWarehousingListIds
.
isEmpty
())
{
QueryWrapper
<
HouseWarehousing
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
in
(
"id"
,
houseWarehousingListIds
);
houseWarehousingList
=
warehousingService
.
list
(
queryWrapper
);
}
if
(
list
==
null
||
list
.
isEmpty
())
{
return
Result
.
error
(
"未找到对应数据"
);
}
return
Result
.
OK
(
list
);
}
/**
* @param
* @return
*/
@AutoLog
(
value
=
""
)
@ApiOperation
(
value
=
""
,
notes
=
""
)
@PutMapping
(
value
=
"/updatepicking"
)
@Transactional
public
Result
<?>
updatepicking
(
@RequestBody
Map
<
String
,
List
<
HouseSaleDetailed
>>
data
)
{
List
<
HouseSaleDetailed
>
saleDetailed
=
data
.
get
(
"data"
);
boolean
b
=
saleService
.
updateBatchById
(
saleDetailed
);
List
<
HouseWarehousing
>
warehousings
=
new
ArrayList
<>();
for
(
HouseSaleDetailed
houseSaleDetailed
:
saleDetailed
)
{
HouseWarehousing
houseWarehousing
=
new
HouseWarehousing
(
houseSaleDetailed
.
getWarehousingId
(),
houseSaleDetailed
.
getCompleteNum
());
warehousings
.
add
(
houseWarehousing
);
}
boolean
b1
=
warehousingService
.
updateBatchById
(
warehousings
);
if
(
b
&&
b1
){
return
Result
.
OK
(
"拣货成功!"
);
}
return
Result
.
error
(
"拣货失败!"
);
}
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/controller/HouseWarehouseController.java
浏览文件 @
384bdc3f
...
...
@@ -11,11 +11,14 @@ import org.jeecg.common.aspect.annotation.AutoLog;
import
org.jeecg.common.system.base.controller.JeecgController
;
import
org.jeecg.common.system.query.QueryGenerator
;
import
org.jeecg.modules.iost.basedata.entity.HouseWarehouse
;
import
org.jeecg.modules.iost.basedata.service.HouseILocationReadyService
;
import
org.jeecg.modules.iost.basedata.service.HouseIWarehouseService
;
import
org.jeecg.modules.iost.basedata.vo.WareHouseInfoPage
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.servlet.ModelAndView
;
import
javax.servlet.ServletOutputStream
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.Arrays
;
...
...
@@ -34,7 +37,8 @@ import java.util.List;
public
class
HouseWarehouseController
extends
JeecgController
<
HouseWarehouse
,
HouseIWarehouseService
>
{
@Autowired
private
HouseIWarehouseService
warehouseService
;
@Autowired
private
HouseILocationReadyService
locationReadyService
;
/**
* 分页列表查询
*
...
...
@@ -141,12 +145,13 @@ public class HouseWarehouseController extends JeecgController<HouseWarehouse, Ho
@GetMapping
(
value
=
"/querypositionid"
)
public
Result
<?>
querypositionid
(
@RequestParam
(
name
=
"positionid"
,
required
=
true
)
String
positionid
)
{
List
<
HouseWarehouse
>
list
=
warehouseService
.
getBaseMapper
().
selectList
(
new
QueryWrapper
<
HouseWarehouse
>().
eq
(
"PositionId"
,
positionid
));
if
(
list
==
null
)
{
if
(
list
==
null
||
list
.
size
()==
0
)
{
return
Result
.
error
(
"未找到对应数据"
);
}
return
Result
.
OK
(
list
);
}
/**
* 通过仓库查询仓位
*
...
...
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/controller/HouseWarehousingController.java
浏览文件 @
384bdc3f
差异被折叠。
点击展开。
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/controller/HouseWarehousingLocationController.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
controller
;
import
io.swagger.annotations.Api
;
import
lombok.extern.slf4j.Slf4j
;
import
org.jeecg.common.system.base.controller.JeecgController
;
import
org.jeecg.modules.iost.basedata.entity.HouseWarehousingLocation
;
import
org.jeecg.modules.iost.basedata.service.HouseIWarehousingLocationService
;
import
org.jeecg.modules.iost.basedata.service.HouseIWorkPickingService
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
/**
* @Description: 入库订单
* @Author: jeecg-boot
* @Date: 2021-07-21
* @Version: V1.0
*/
@Api
(
tags
=
"入库订单"
)
@RestController
@RequestMapping
(
"/basedata/warehousinglocation"
)
@Slf4j
public
class
HouseWarehousingLocationController
extends
JeecgController
<
HouseWarehousingLocation
,
HouseIWarehousingLocationService
>
{
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/controller/HouseWorkPickingController.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
controller
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
import
org.jeecg.common.api.vo.Result
;
import
org.jeecg.common.aspect.annotation.AutoLog
;
import
org.jeecg.common.system.base.controller.JeecgController
;
import
org.jeecg.common.system.query.QueryGenerator
;
import
org.jeecg.modules.iost.basedata.entity.HouseWorkPicking
;
import
org.jeecg.modules.iost.basedata.entity.HouseWorkScanning
;
import
org.jeecg.modules.iost.basedata.service.HouseIWorkPickingService
;
import
org.jeecg.modules.iost.basedata.service.HouseIWorkScanningService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.servlet.ModelAndView
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.Arrays
;
/**
* @Description: 员工拣货工作量列表
* @Author: jeecg-boot
* @Date: 2021-07-22
* @Version: V1.0
*/
@Api
(
tags
=
"员工拣货工作量列表"
)
@RestController
@RequestMapping
(
"/basedata/workpicking"
)
@Slf4j
public
class
HouseWorkPickingController
extends
JeecgController
<
HouseWorkPicking
,
HouseIWorkPickingService
>
{
@Autowired
private
HouseIWorkPickingService
workPickingService
;
/**
* 分页列表查询
*
* @param workPicking
* @param pageNo
* @param pageSize
* @param req
* @return
*/
@AutoLog
(
value
=
"员工拣货工作量列表-分页列表查询"
)
@ApiOperation
(
value
=
"员工拣货工作量列表-分页列表查询"
,
notes
=
"员工拣货工作量列表-分页列表查询"
)
@GetMapping
(
value
=
"/list"
)
public
Result
<?>
queryPageList
(
HouseWorkPicking
workPicking
,
@RequestParam
(
name
=
"pageNo"
,
defaultValue
=
"1"
)
Integer
pageNo
,
@RequestParam
(
name
=
"pageSize"
,
defaultValue
=
"10"
)
Integer
pageSize
,
HttpServletRequest
req
)
{
QueryWrapper
<
HouseWorkPicking
>
queryWrapper
=
QueryGenerator
.
initQueryWrapper
(
workPicking
,
req
.
getParameterMap
());
Page
<
HouseWorkPicking
>
page
=
new
Page
<
HouseWorkPicking
>(
pageNo
,
pageSize
);
IPage
<
HouseWorkPicking
>
pageList
=
workPickingService
.
page
(
page
,
queryWrapper
);
return
Result
.
OK
(
pageList
);
}
/**
* 通过id查询
*
* @param id
* @return
*/
@AutoLog
(
value
=
"员工拣货工作量列表-通过id查询"
)
@ApiOperation
(
value
=
"员工拣货工作量列表-通过id查询"
,
notes
=
"员工拣货工作量列表-通过id查询"
)
@GetMapping
(
value
=
"/queryById"
)
public
Result
<?>
queryById
(
@RequestParam
(
name
=
"id"
,
required
=
true
)
String
id
)
{
HouseWorkPicking
workPicking
=
workPickingService
.
getById
(
id
);
if
(
workPicking
==
null
)
{
return
Result
.
error
(
"未找到对应数据"
);
}
return
Result
.
OK
(
workPicking
);
}
/**
* 添加
*
* @param workPicking
* @return
*/
@AutoLog
(
value
=
"员工拣货工作量列表-添加"
)
@ApiOperation
(
value
=
"员工拣货工作量列表-添加"
,
notes
=
"员工拣货工作量列表-添加"
)
@PostMapping
(
value
=
"/add"
)
public
Result
<?>
add
(
@RequestBody
HouseWorkPicking
workPicking
)
{
workPickingService
.
save
(
workPicking
);
return
Result
.
OK
(
"添加成功!"
);
}
/**
* 通过id删除
*
* @param id
* @return
*/
@AutoLog
(
value
=
"员工拣货工作量列表-通过id删除"
)
@ApiOperation
(
value
=
"员工拣货工作量列表-通过id删除"
,
notes
=
"员工拣货工作量列表-通过id删除"
)
@DeleteMapping
(
value
=
"/delete"
)
public
Result
<?>
delete
(
@RequestParam
(
name
=
"id"
,
required
=
true
)
String
id
)
{
workPickingService
.
removeById
(
id
);
return
Result
.
OK
(
"删除成功!"
);
}
/**
* 批量删除
*
* @param ids
* @return
*/
@AutoLog
(
value
=
"员工拣货工作量列表-批量删除"
)
@ApiOperation
(
value
=
"员工拣货工作量列表-批量删除"
,
notes
=
"员工拣货工作量列表-批量删除"
)
@DeleteMapping
(
value
=
"/deleteBatch"
)
public
Result
<?>
deleteBatch
(
@RequestParam
(
name
=
"ids"
,
required
=
true
)
String
ids
)
{
this
.
workPickingService
.
removeByIds
(
Arrays
.
asList
(
ids
.
split
(
","
)));
return
Result
.
OK
(
"批量删除成功!"
);
}
/**
* 编辑
*
* @param workPicking
* @return
*/
@AutoLog
(
value
=
"员工拣货工作量列表-编辑"
)
@ApiOperation
(
value
=
"员工拣货工作量列表-编辑"
,
notes
=
"员工拣货工作量列表-编辑"
)
@PutMapping
(
value
=
"/edit"
)
public
Result
<?>
edit
(
@RequestBody
HouseWorkPicking
workPicking
)
{
workPickingService
.
updateById
(
workPicking
);
return
Result
.
OK
(
"编辑成功!"
);
}
/**
* 导出excel
*
* @param request
* @param workPicking
*/
@RequestMapping
(
value
=
"/exportXls"
)
public
ModelAndView
exportXls
(
HttpServletRequest
request
,
HouseWorkPicking
workPicking
)
{
return
super
.
exportXls
(
request
,
workPicking
,
HouseWorkPicking
.
class
,
"员工拣货工作量信息"
);
}
/**
* 通过excel导入数据
*
* @param request
* @param response
* @return
*/
@RequestMapping
(
value
=
"/importExcel"
,
method
=
RequestMethod
.
POST
)
public
Result
<?>
importExcel
(
HttpServletRequest
request
,
HttpServletResponse
response
)
{
return
super
.
importExcel
(
request
,
response
,
HouseWorkPicking
.
class
);
}
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/controller/HouseWorkScanningController.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
controller
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
import
org.jeecg.common.api.vo.Result
;
import
org.jeecg.common.aspect.annotation.AutoLog
;
import
org.jeecg.common.system.base.controller.JeecgController
;
import
org.jeecg.common.system.query.QueryGenerator
;
import
org.jeecg.modules.iost.basedata.entity.HouseWorkScanning
;
import
org.jeecg.modules.iost.basedata.service.HouseIWorkScanningService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.servlet.ModelAndView
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.Arrays
;
/**
* @Description: 员工扫描工作量列表
* @Author: jeecg-boot
* @Date: 2021-07-21
* @Version: V1.0
*/
@Api
(
tags
=
"员工扫描工作量列表"
)
@RestController
@RequestMapping
(
"/basedata/workscanning"
)
@Slf4j
public
class
HouseWorkScanningController
extends
JeecgController
<
HouseWorkScanning
,
HouseIWorkScanningService
>
{
@Autowired
private
HouseIWorkScanningService
workScanningService
;
/**
* 分页列表查询
*
* @param workScanning
* @param pageNo
* @param pageSize
* @param req
* @return
*/
@AutoLog
(
value
=
"员工扫描工作量列表-分页列表查询"
)
@ApiOperation
(
value
=
"员工扫描工作量列表-分页列表查询"
,
notes
=
"员工扫描工作量列表-分页列表查询"
)
@GetMapping
(
value
=
"/list"
)
public
Result
<?>
queryPageList
(
HouseWorkScanning
workScanning
,
@RequestParam
(
name
=
"pageNo"
,
defaultValue
=
"1"
)
Integer
pageNo
,
@RequestParam
(
name
=
"pageSize"
,
defaultValue
=
"10"
)
Integer
pageSize
,
HttpServletRequest
req
)
{
QueryWrapper
<
HouseWorkScanning
>
queryWrapper
=
QueryGenerator
.
initQueryWrapper
(
workScanning
,
req
.
getParameterMap
());
Page
<
HouseWorkScanning
>
page
=
new
Page
<
HouseWorkScanning
>(
pageNo
,
pageSize
);
IPage
<
HouseWorkScanning
>
pageList
=
workScanningService
.
page
(
page
,
queryWrapper
);
return
Result
.
OK
(
pageList
);
}
/**
* 通过id查询
*
* @param id
* @return
*/
@AutoLog
(
value
=
"员工扫描工作量列表-通过id查询"
)
@ApiOperation
(
value
=
"员工扫描工作量列表-通过id查询"
,
notes
=
"员工扫描工作量列表-通过id查询"
)
@GetMapping
(
value
=
"/queryById"
)
public
Result
<?>
queryById
(
@RequestParam
(
name
=
"id"
,
required
=
true
)
String
id
)
{
HouseWorkScanning
workScanning
=
workScanningService
.
getById
(
id
);
if
(
workScanning
==
null
)
{
return
Result
.
error
(
"未找到对应数据"
);
}
return
Result
.
OK
(
workScanning
);
}
/**
* 添加
*
* @param warehousing
* @return
*/
@AutoLog
(
value
=
"员工扫描工作量列表-添加"
)
@ApiOperation
(
value
=
"员工扫描工作量列表-添加"
,
notes
=
"员工扫描工作量列表-添加"
)
@PostMapping
(
value
=
"/add"
)
public
Result
<?>
add
(
@RequestBody
HouseWorkScanning
warehousing
)
{
workScanningService
.
save
(
warehousing
);
return
Result
.
OK
(
"添加成功!"
);
}
/**
* 通过id删除
*
* @param id
* @return
*/
@AutoLog
(
value
=
"员工扫描工作量列表-通过id删除"
)
@ApiOperation
(
value
=
"员工扫描工作量列表-通过id删除"
,
notes
=
"员工扫描工作量列表-通过id删除"
)
@DeleteMapping
(
value
=
"/delete"
)
public
Result
<?>
delete
(
@RequestParam
(
name
=
"id"
,
required
=
true
)
String
id
)
{
workScanningService
.
removeById
(
id
);
return
Result
.
OK
(
"删除成功!"
);
}
/**
* 批量删除
*
* @param ids
* @return
*/
@AutoLog
(
value
=
"员工扫描工作量列表-批量删除"
)
@ApiOperation
(
value
=
"员工扫描工作量列表-批量删除"
,
notes
=
"员工扫描工作量列表-批量删除"
)
@DeleteMapping
(
value
=
"/deleteBatch"
)
public
Result
<?>
deleteBatch
(
@RequestParam
(
name
=
"ids"
,
required
=
true
)
String
ids
)
{
this
.
workScanningService
.
removeByIds
(
Arrays
.
asList
(
ids
.
split
(
","
)));
return
Result
.
OK
(
"批量删除成功!"
);
}
/**
* 编辑
*
* @param workScanning
* @return
*/
@AutoLog
(
value
=
"员工扫描工作量列表-编辑"
)
@ApiOperation
(
value
=
"员工扫描工作量列表-编辑"
,
notes
=
"员工扫描工作量列表-编辑"
)
@PutMapping
(
value
=
"/edit"
)
public
Result
<?>
edit
(
@RequestBody
HouseWorkScanning
workScanning
)
{
workScanningService
.
updateById
(
workScanning
);
return
Result
.
OK
(
"编辑成功!"
);
}
/**
* 导出excel
*
* @param request
* @param workScanning
*/
@RequestMapping
(
value
=
"/exportXls"
)
public
ModelAndView
exportXls
(
HttpServletRequest
request
,
HouseWorkScanning
workScanning
)
{
return
super
.
exportXls
(
request
,
workScanning
,
HouseWorkScanning
.
class
,
"员工扫描工作量信息"
);
}
/**
* 通过excel导入数据
*
* @param request
* @param response
* @return
*/
@RequestMapping
(
value
=
"/importExcel"
,
method
=
RequestMethod
.
POST
)
public
Result
<?>
importExcel
(
HttpServletRequest
request
,
HttpServletResponse
response
)
{
return
super
.
importExcel
(
request
,
response
,
HouseWorkScanning
.
class
);
}
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/controller/InfoTest.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
controller
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
import
org.jeecg.common.aspect.annotation.AutoLog
;
import
org.jeecg.modules.iost.basedata.vo.WareHouseInfoPage
;
import
org.jeecg.modules.iost.basedata.vo.WareInfoPage
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
@Api
(
tags
=
"条码信息测试"
)
@RestController
@RequestMapping
(
"/infoTest"
)
@Slf4j
public
class
InfoTest
{
/**
* 通过仓位查询Test
*
* @param
* @return
*/
@AutoLog
(
value
=
"仓库列表-通过仓位查询"
)
@ApiOperation
(
value
=
"仓库列表-通过仓位查询"
,
notes
=
"仓库列表-通过仓位查询"
)
@GetMapping
(
value
=
"/wareHouseInfo"
)
public
WareHouseInfoPage
wareHouseInfo
()
{
return
new
WareHouseInfoPage
().
setWareHouseName
(
"深圳仓库"
).
setWareHouseNo
(
"A001"
);
}
@AutoLog
(
value
=
"采购产品订单表-通过采购订单号查询"
)
@ApiOperation
(
value
=
"采购产品订单表-通过采购订单号查询"
,
notes
=
"采购产品订单表-通过采购订单号查询"
)
@GetMapping
(
value
=
"/wareInfo"
)
public
WareInfoPage
WareInfo
()
{
return
new
WareInfoPage
()
.
setWareName
(
"茶壶"
)
.
setWareNo
(
new
String
[]{
"CH001"
})
.
setWarePurpose
(
new
String
[]{
"喝茶"
,
"装饰"
})
.
setWareNum
(
100
);
}
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/entity/HouseLingjianhuo.java
浏览文件 @
384bdc3f
...
...
@@ -32,7 +32,7 @@ public class HouseLingjianhuo implements Serializable {
/**主键*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ApiModelProperty
(
value
=
"主键"
)
private
String
id
;
private
int
id
;
/**创建人*/
@ApiModelProperty
(
value
=
"创建人"
)
private
String
createBy
;
...
...
@@ -53,17 +53,17 @@ public class HouseLingjianhuo implements Serializable {
@ApiModelProperty
(
value
=
"所属部门"
)
private
String
sysOrgCode
;
/**拣货单号*/
@Excel
(
name
=
"拣货单号"
,
width
=
15
)
@Excel
(
name
=
"拣货单号"
,
width
=
15
)
@ApiModelProperty
(
value
=
"拣货单号"
)
private
String
pickingid
;
/**员工编号*/
@Excel
(
name
=
"员工编号"
,
width
=
15
)
/**员工编号*/
@Excel
(
name
=
"员工编号"
,
width
=
15
)
@ApiModelProperty
(
value
=
"员工编号"
)
private
String
yuanggongbianhao
;
/**员工名称*/
private
String
employeeNumber
;
/**员工名称*/
@Excel
(
name
=
"员工名称"
,
width
=
15
)
@ApiModelProperty
(
value
=
"员工名称"
)
private
String
yuangongn
ame
;
private
String
employeeN
ame
;
/**扫描时间*/
@Excel
(
name
=
"扫描时间"
,
width
=
15
)
@ApiModelProperty
(
value
=
"扫描时间"
)
...
...
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/entity/HouseLocationReady.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.experimental.Accessors
;
import
org.jeecgframework.poi.excel.annotation.Excel
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* @Description: 入库订单列表
* @Author: jeecg-boot
* @Date: 2021-06-04
* @Version: V1.0
*/
@Data
@NoArgsConstructor
@TableName
(
"house_location_ready"
)
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
false
)
@ApiModel
(
value
=
"house_location_ready对象"
,
description
=
"入库单待上架明细"
)
public
class
HouseLocationReady
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ApiModelProperty
(
value
=
"主键"
)
private
int
id
;
/**
* 创建人
*/
@ApiModelProperty
(
value
=
"创建人"
)
private
String
createBy
;
/**
* 创建日期
*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
value
=
"创建日期"
)
private
Date
createTime
;
/**
* 更新人
*/
@ApiModelProperty
(
value
=
"更新人"
)
private
String
updateBy
;
/**
* 更新日期
*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
value
=
"更新日期"
)
private
Date
updateTime
;
/**
* 所属部门
*/
@ApiModelProperty
(
value
=
"所属部门"
)
private
String
sysOrgCode
;
/**
* 入库订单编号
*/
@Excel
(
name
=
"入库订单编号"
,
width
=
15
)
@ApiModelProperty
(
value
=
"入库订单编号"
)
private
Integer
warehousingId
;
/**采购顶单号*/
@Excel
(
name
=
"采购顶单号"
,
width
=
15
)
@ApiModelProperty
(
value
=
"采购顶单号"
)
private
Integer
purchaseid
;
/**
* 产品编码
*/
@Excel
(
name
=
"产品编码"
,
width
=
15
)
@ApiModelProperty
(
value
=
"产品编码"
)
private
String
productcodeId
;
/**
* 产品名称
*/
@Excel
(
name
=
"产品名称"
,
width
=
15
)
@ApiModelProperty
(
value
=
"产品名称"
)
private
String
productname
;
/**
* 功效
*/
@Excel
(
name
=
"功效"
,
width
=
15
)
@ApiModelProperty
(
value
=
"功效"
)
private
String
productnotes
;
/**
* 待上架数量
*/
@Excel
(
name
=
"待上架数量"
,
width
=
15
)
@ApiModelProperty
(
value
=
"待上架数量"
)
private
Integer
waitingnumber
;
/**
* 已上架数量
*/
@Excel
(
name
=
"已上架数量"
,
width
=
15
)
@ApiModelProperty
(
value
=
"已上架数量"
)
private
Integer
productnumber
;
public
HouseLocationReady
(
int
id
,
int
productnumber
)
{
this
.
id
=
id
;
this
.
productnumber
=
productnumber
;
}
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/entity/HouseProduct.java
浏览文件 @
384bdc3f
...
...
@@ -16,7 +16,7 @@ import java.io.Serializable;
import
java.util.Date
;
/**
* @Description: 采购产品订单表
* @Description: 采购产品订单表
明细
* @Author: jeecg-boot
* @Date: 2021-06-04
* @Version: V1.0
...
...
@@ -25,7 +25,7 @@ import java.util.Date;
@TableName
(
"house_product"
)
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
false
)
@ApiModel
(
value
=
"product对象"
,
description
=
"采购产品订单表"
)
@ApiModel
(
value
=
"product对象"
,
description
=
"采购产品订单表
明细
"
)
public
class
HouseProduct
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
...
...
@@ -72,4 +72,10 @@ public class HouseProduct implements Serializable {
@Excel
(
name
=
"功效"
,
width
=
15
)
@ApiModelProperty
(
value
=
"功效"
)
private
String
productnotes
;
/**出单数量*/
@Excel
(
name
=
"出单数量"
,
width
=
15
)
@ApiModelProperty
(
value
=
"出单数量"
)
private
String
qutquantity
;
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/entity/HouseRelocation.java
浏览文件 @
384bdc3f
...
...
@@ -32,7 +32,7 @@ public class HouseRelocation implements Serializable {
/**主键*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ApiModelProperty
(
value
=
"主键"
)
private
String
id
;
private
int
id
;
/**创建人*/
@ApiModelProperty
(
value
=
"创建人"
)
private
String
createBy
;
...
...
@@ -83,9 +83,9 @@ public class HouseRelocation implements Serializable {
/**员工编号*/
@Excel
(
name
=
"员工编号"
,
width
=
15
)
@ApiModelProperty
(
value
=
"员工编号"
)
private
Integer
yuangongbianha
o
;
private
Integer
workN
o
;
/**员工姓名*/
@Excel
(
name
=
"员工姓名"
,
width
=
15
)
@ApiModelProperty
(
value
=
"员工姓名"
)
private
String
yuangong
name
;
private
String
real
name
;
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/entity/HouseSaleDetailed.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
org.jeecgframework.poi.excel.annotation.Excel
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* @Description: 仓库列表
* @Author: jeecg-boot
* @Date: 2021-06-04
* @Version: V1.0
*/
@Data
@TableName
(
"house_sale_detailed"
)
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
false
)
@ApiModel
(
value
=
"house_sale对象"
,
description
=
"销售单列表"
)
public
class
HouseSaleDetailed
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**主键*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ApiModelProperty
(
value
=
"主键"
)
private
int
id
;
/**创建人*/
@ApiModelProperty
(
value
=
"创建人"
)
private
String
createBy
;
/**创建日期*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
value
=
"创建日期"
)
private
Date
createTime
;
/**更新人*/
@ApiModelProperty
(
value
=
"更新人"
)
private
String
updateBy
;
/**更新日期*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
value
=
"更新日期"
)
private
Date
updateTime
;
/**所属部门*/
@ApiModelProperty
(
value
=
"所属部门"
)
private
String
sysOrgCode
;
/**拣货单号*/
@Excel
(
name
=
"拣货单号"
,
width
=
15
)
@ApiModelProperty
(
value
=
"拣货单号"
)
private
String
pickingid
;
/**库存定位类码*/
@Excel
(
name
=
"库存定位类码"
,
width
=
15
)
@ApiModelProperty
(
value
=
"库存定位类码"
)
private
Integer
warehousingId
;
/**
* 产品编码
*/
@Excel
(
name
=
"产品编码"
,
width
=
15
)
@ApiModelProperty
(
value
=
"产品编码"
)
private
String
productcodeId
;
/**
* 产品名称
*/
@Excel
(
name
=
"产品名称"
,
width
=
15
)
@ApiModelProperty
(
value
=
"产品名称"
)
private
String
productname
;
/**
* 功效
*/
@Excel
(
name
=
"功效"
,
width
=
15
)
@ApiModelProperty
(
value
=
"功效"
)
private
String
productnotes
;
/**
* 仓库
*/
@Excel
(
name
=
"仓库"
,
width
=
15
)
@ApiModelProperty
(
value
=
"仓库"
)
private
String
warehouseId
;
/**
* 仓位
*/
@Excel
(
name
=
"仓位"
,
width
=
15
)
@ApiModelProperty
(
value
=
"仓位"
)
private
String
positionId
;
/**
* 需求数量
*/
@Excel
(
name
=
"需求数量"
,
width
=
15
)
@ApiModelProperty
(
value
=
"需求数量"
)
private
Integer
demandNum
;
/**
* 完成数量
*/
@Excel
(
name
=
"完成数量"
,
width
=
15
)
@ApiModelProperty
(
value
=
"完成数量z"
)
private
Integer
completeNum
;
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/entity/HouseWarehousing.java
浏览文件 @
384bdc3f
...
...
@@ -6,9 +6,13 @@ import com.baomidou.mybatisplus.annotation.TableName;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.experimental.Accessors
;
import
org.jeecg.modules.iost.basedata.vo.HouseWarehousingPage
;
//import org.jeecg.modules.iost.basedata.vo.HouseWarehousingVO;
import
org.jeecgframework.poi.excel.annotation.Excel
;
import
org.springframework.format.annotation.DateTimeFormat
;
...
...
@@ -18,66 +22,152 @@ import java.util.Date;
/**
* @Description: 入库订单列表
* @Author: jeecg-boot
* @Date:
2021-06-04
* @Date: 2021-06-04
* @Version: V1.0
*/
@Data
@NoArgsConstructor
@TableName
(
"house_warehousing"
)
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
false
)
@ApiModel
(
value
=
"warehousing对象"
,
description
=
"入库订单列表"
)
@ApiModel
(
value
=
"warehousing对象"
,
description
=
"入库订单列表"
)
public
class
HouseWarehousing
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**主键*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ApiModelProperty
(
value
=
"主键"
)
private
String
id
;
/**创建人*/
private
int
id
;
/**
* 创建人
*/
@ApiModelProperty
(
value
=
"创建人"
)
private
String
createBy
;
/**创建日期*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
/**
* 创建日期
*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
value
=
"创建日期"
)
private
Date
createTime
;
/**更新人*/
/**
* 更新人
*/
@ApiModelProperty
(
value
=
"更新人"
)
private
String
updateBy
;
/**更新日期*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
/**
* 更新日期
*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
value
=
"更新日期"
)
private
Date
updateTime
;
/**所属部门*/
/**
* 所属部门
*/
@ApiModelProperty
(
value
=
"所属部门"
)
private
String
sysOrgCode
;
/**入库订单编号*/
@Excel
(
name
=
"入库订单编号"
,
width
=
15
)
/**
* 采购顶单号
*/
@Excel
(
name
=
"采购顶单号"
,
width
=
15
)
@ApiModelProperty
(
value
=
"采购顶单号"
)
private
Integer
purchaseid
;
/**
* 入库订单编号
*/
@Excel
(
name
=
"入库订单编号"
,
width
=
15
)
@ApiModelProperty
(
value
=
"入库订单编号"
)
private
Integer
warehousingid
;
/**仓库*/
@Excel
(
name
=
"仓库"
,
width
=
15
)
private
Integer
warehousingId
;
/**
* 仓库
*/
@Excel
(
name
=
"仓库"
,
width
=
15
)
@ApiModelProperty
(
value
=
"仓库"
)
private
String
warehouseid
;
/**仓位*/
@Excel
(
name
=
"仓位"
,
width
=
15
)
private
String
warehouseId
;
/**
* 仓位
*/
@Excel
(
name
=
"仓位"
,
width
=
15
)
@ApiModelProperty
(
value
=
"仓位"
)
private
String
positionid
;
/**产品编码*/
@Excel
(
name
=
"产品编码"
,
width
=
15
)
private
String
positionId
;
/**
* 产品编码
*/
@Excel
(
name
=
"产品编码"
,
width
=
15
)
@ApiModelProperty
(
value
=
"产品编码"
)
private
String
productcodeid
;
/**产品名称*/
@Excel
(
name
=
"产品名称"
,
width
=
15
)
private
String
productcodeId
;
/**
* 产品名称
*/
@Excel
(
name
=
"产品名称"
,
width
=
15
)
@ApiModelProperty
(
value
=
"产品名称"
)
private
String
productname
;
/**数量*/
@Excel
(
name
=
"数量"
,
width
=
15
)
/**
* 数量
*/
@Excel
(
name
=
"数量"
,
width
=
15
)
@ApiModelProperty
(
value
=
"数量"
)
private
Integer
productnumber
;
/**功效*/
@Excel
(
name
=
"功效"
,
width
=
15
)
/**
* 功效
*/
@Excel
(
name
=
"功效"
,
width
=
15
)
@ApiModelProperty
(
value
=
"功效"
)
private
String
productnotes
;
/**
* 工号
*/
@Excel
(
name
=
"工号"
,
width
=
15
)
@ApiModelProperty
(
value
=
"工号"
)
private
String
workNo
;
/**
* 操作员名称
*/
@Excel
(
name
=
"操作员名称"
,
width
=
15
)
@ApiModelProperty
(
value
=
"操作员名称"
)
private
String
realname
;
/**
* 上架时间
*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
value
=
"上架时间"
)
private
Date
shelftime
;
public
HouseWarehousing
(
int
id
,
int
productnumber
)
{
this
.
id
=
id
;
this
.
productnumber
=
productnumber
;
}
// public HouseWarehousing(HouseWarehousingVO houseWarehousingVO,String positionmove,int productnumbermove) {
// this.warehousingId = houseWarehousingVO.getWarehousingid();//入库订单编号
// this.warehouseId = houseWarehousingVO.getWarehouseid();//仓库
// this.positionId = positionmove;//仓位
// this.productcodeId = houseWarehousingVO.getProductcodeid();//产品编码
// this.productname = houseWarehousingVO.getProductname();//产品名称
// this.productnumber = productnumbermove;//数量
// this.productnotes = houseWarehousingVO.getProductnotes();//功效
// }
public
HouseWarehousing
(
HouseWarehousingPage
houseWarehousingPage
)
{
this
.
warehousingId
=
houseWarehousingPage
.
getWarehousingId
();
//入库订单编号
this
.
purchaseid
=
houseWarehousingPage
.
getPurchaseid
();
//采购顶单号
this
.
warehouseId
=
houseWarehousingPage
.
getProductmove
();
//仓库
if
(
this
.
warehouseId
.
equals
(
""
)
||
this
.
warehouseId
==
null
)
{
this
.
warehouseId
=
houseWarehousingPage
.
getWarehouseId
();
}
this
.
positionId
=
houseWarehousingPage
.
getPositionmove
();
//仓位
this
.
productcodeId
=
houseWarehousingPage
.
getProductcodeId
();
//产品编码
this
.
productname
=
houseWarehousingPage
.
getProductname
();
//产品名称
this
.
productnumber
=
houseWarehousingPage
.
getMoveNum
();
//数量
this
.
productnotes
=
houseWarehousingPage
.
getProductnotes
();
//功效
this
.
workNo
=
houseWarehousingPage
.
getWorkNo
();
this
.
realname
=
houseWarehousingPage
.
getRealname
();
}
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/entity/HouseWarehousingLocation.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.experimental.Accessors
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* @Description: 入库定位单
* @Author: jeecg-boot
* @Date: 2021-07-27
* @Version: V1.0
*/
@Data
@NoArgsConstructor
@TableName
(
"house_warehousing_location"
)
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
false
)
@ApiModel
(
value
=
"warehousing_location对象"
,
description
=
"入库定位单"
)
public
class
HouseWarehousingLocation
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ApiModelProperty
(
value
=
"主键"
)
private
int
id
;
/**
* 创建人
*/
@ApiModelProperty
(
value
=
"创建人"
)
private
String
createBy
;
/**
* 创建日期
*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
value
=
"创建日期"
)
private
Date
createTime
;
/**
* 更新人
*/
@ApiModelProperty
(
value
=
"更新人"
)
private
String
updateBy
;
/**
* 更新日期
*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
value
=
"更新日期"
)
private
Date
updateTime
;
/**
* 所属部门
*/
@ApiModelProperty
(
value
=
"所属部门"
)
private
String
sysOrgCode
;
/**
* 生成时间
*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
value
=
"生成时间"
)
private
Date
generationtime
;
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/entity/HouseWorkPicking.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* @Description: 员工拣货工作量统计表
* @Author: jeecg-boot
* @Date: 2021-07-22
* @Version: V1.0
*/
@Data
@TableName
(
"house_workpicking"
)
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
false
)
@ApiModel
(
value
=
"员工拣货工作量"
,
description
=
"员工拣货工作量统计"
)
public
class
HouseWorkPicking
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ApiModelProperty
(
value
=
"主键"
)
private
String
id
;
/**
* 创建人
*/
@ApiModelProperty
(
value
=
"创建人"
)
private
String
createBy
;
/**
* 创建日期
*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
value
=
"创建日期"
)
private
Date
createTime
;
/**
* 更新人
*/
@ApiModelProperty
(
value
=
"更新人"
)
private
String
updateBy
;
/**
* 更新日期
*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
value
=
"更新日期"
)
private
Date
updateTime
;
/**
* 所属部门
*/
@ApiModelProperty
(
value
=
"所属部门"
)
private
String
sysOrgCode
;
/**员工编号*/
@ApiModelProperty
(
value
=
"员工编号"
)
private
String
Yuanggongid
;
/**员工名称*/
@ApiModelProperty
(
value
=
"员工名称"
)
private
String
Yuangongname
;
/**订单号*/
@ApiModelProperty
(
value
=
"订单号"
)
private
Long
Saleid
;
/**条码数/行数*/
@ApiModelProperty
(
value
=
"条码数/行数"
)
private
int
Hangshu
;
/**件数*/
@ApiModelProperty
(
value
=
"件数"
)
private
int
Jianshu
;
/**开始时间*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
value
=
"开始时间"
)
private
Date
Kaishi
;
/**拣货完成时间*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
value
=
"拣货完成时间"
)
private
Date
Wancheng
;
/**备注*/
@ApiModelProperty
(
value
=
"备注"
)
private
String
Beizhu
;
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/entity/HouseWorkScanning.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
org.jeecgframework.poi.excel.annotation.Excel
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* @Description: 员工扫描工作量统计表
* @Author: jeecg-boot
* @Date: 2021-07-21
* @Version: V1.0
*/
@Data
@TableName
(
"house_workscanning"
)
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
false
)
@ApiModel
(
value
=
"员工扫描工作量对象"
,
description
=
"员工扫描工作量统计"
)
public
class
HouseWorkScanning
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ApiModelProperty
(
value
=
"主键"
)
private
String
id
;
/**
* 创建人
*/
@ApiModelProperty
(
value
=
"创建人"
)
private
String
createBy
;
/**
* 创建日期
*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
value
=
"创建日期"
)
private
Date
createTime
;
/**
* 更新人
*/
@ApiModelProperty
(
value
=
"更新人"
)
private
String
updateBy
;
/**
* 更新日期
*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
value
=
"更新日期"
)
private
Date
updateTime
;
/**
* 所属部门
*/
@ApiModelProperty
(
value
=
"所属部门"
)
private
String
sysOrgCode
;
/**员工编号*/
@ApiModelProperty
(
value
=
"员工编号"
)
private
String
Yuanggongid
;
/**员工名称*/
@ApiModelProperty
(
value
=
"员工名称"
)
private
String
Yuangongname
;
/**订单号*/
@ApiModelProperty
(
value
=
"订单号"
)
private
Long
Saleid
;
/**条码数/行数*/
@ApiModelProperty
(
value
=
"条码数/行数"
)
private
int
Hangshu
;
/**支数*/
@ApiModelProperty
(
value
=
"支数"
)
private
int
count
;
/**开始时间*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
value
=
"开始时间"
)
private
Date
Kaishi
;
/**扫描完成时间*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
value
=
"扫描完成时间"
)
private
Date
Wancheng
;
/**备注*/
@ApiModelProperty
(
value
=
"备注"
)
private
String
Beizhu
;
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/mapper/HouseLocationReadyMapper.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.jeecg.modules.iost.basedata.entity.HouseLocationReady
;
import
org.springframework.stereotype.Repository
;
import
java.util.List
;
/**
* @Description: 入库定位单-待上架明细
* @Author: jeecg-boot
* @Date: 2021-07-27
* @Version: V1.0
*/
@Repository
public
interface
HouseLocationReadyMapper
extends
BaseMapper
<
HouseLocationReady
>
{
List
<
HouseLocationReady
>
getCheckIsLocation
(
HouseLocationReady
houseLocationReady
);
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/mapper/HouseSaleDetailedMapper.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.jeecg.modules.iost.basedata.entity.HouseSaleDetailed
;
import
org.jeecg.modules.iost.basedata.entity.HouseWarehousingLocation
;
/**
* @Description: 銷售單
* @Author: jeecg-boot
* @Date: 2021-07-27
* @Version: V1.0
*/
public
interface
HouseSaleDetailedMapper
extends
BaseMapper
<
HouseSaleDetailed
>
{
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/mapper/HouseWarehousingLocationMapper.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.jeecg.modules.iost.basedata.entity.HouseWarehousingLocation
;
/**
* @Description: 入库定位单
* @Author: jeecg-boot
* @Date: 2021-07-27
* @Version: V1.0
*/
public
interface
HouseWarehousingLocationMapper
extends
BaseMapper
<
HouseWarehousingLocation
>
{
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/mapper/HouseWarehousingMapper.java
浏览文件 @
384bdc3f
...
...
@@ -3,6 +3,7 @@ package org.jeecg.modules.iost.basedata.mapper;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.jeecg.modules.iost.basedata.entity.HouseWarehousing
;
import
org.springframework.stereotype.Repository
;
import
java.util.List
;
...
...
@@ -12,6 +13,7 @@ import java.util.List;
* @Date: 2021-06-04
* @Version: V1.0
*/
@Repository
public
interface
HouseWarehousingMapper
extends
BaseMapper
<
HouseWarehousing
>
{
public
List
<
HouseWarehousing
>
selectlist
(
@Param
(
"cangku"
)
String
cangku
,
@Param
(
"cangwei"
)
String
cangwei
,
@Param
(
"productcodeid"
)
String
productcodeid
,
@Param
(
"productname"
)
String
productname
);
...
...
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/mapper/HouseWorkPickingMapper.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.jeecg.modules.iost.basedata.entity.HouseWorkPicking
;
import
org.jeecg.modules.iost.basedata.entity.HouseWorkScanning
;
/**
* @Description:
* @Author: jeecg-boot
* @Date: 2021-07-22
* @Version: V1.0
*/
public
interface
HouseWorkPickingMapper
extends
BaseMapper
<
HouseWorkPicking
>
{
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/mapper/HouseWorkScanningMapper.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.jeecg.modules.iost.basedata.entity.HouseWorkScanning
;
/**
* @Description:
* @Author: jeecg-boot
* @Date: 2021-07-21
* @Version: V1.0
*/
public
interface
HouseWorkScanningMapper
extends
BaseMapper
<
HouseWorkScanning
>
{
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/mapper/xml/HouseLocationReadyMapper.xml
0 → 100644
浏览文件 @
384bdc3f
<?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.jeecg.modules.iost.basedata.mapper.HouseLocationReadyMapper"
>
<!-- 检查 -->
<select
id=
"getCheckIsLocation"
parameterType=
"org.jeecg.modules.iost.basedata.entity.HouseLocationReady"
resultType=
"org.jeecg.modules.iost.basedata.entity.HouseLocationReady"
>
select Waitingnumber,Productnumber from house_location_ready where Warehousing_Id = #{warehousingId}
and
PurchaseId = #{purchaseid} and
Productcode_Id = #{productcodeId} and
Productname = #{productname} and
Productnotes = #{productnotes}
</select>
</mapper>
\ No newline at end of file
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/mapper/xml/HouseSaleDetailedMapper.xml
0 → 100644
浏览文件 @
384bdc3f
<?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.jeecg.modules.iost.basedata.mapper.HouseSaleDetailedMapper"
>
</mapper>
\ No newline at end of file
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/mapper/xml/HouseWarehouseMapper.xml
浏览文件 @
384bdc3f
<?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.jeecg.modules.i
nandoutofstorage.basedata.mapper.
WarehouseMapper"
>
<mapper
namespace=
"org.jeecg.modules.i
ost.basedata.mapper.House
WarehouseMapper"
>
</mapper>
\ No newline at end of file
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/mapper/xml/HouseWarehousingLocationMapper.xml
0 → 100644
浏览文件 @
384bdc3f
<?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.jeecg.modules.iost.basedata.mapper.HouseWarehousingLocationMapper"
>
</mapper>
\ No newline at end of file
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/mapper/xml/HouseWarehousingMapper.xml
浏览文件 @
384bdc3f
<?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.jeecg.modules.i
nandoutofstorage.basedata.mapper.
WarehousingMapper"
>
<mapper
namespace=
"org.jeecg.modules.i
ost.basedata.mapper.House
WarehousingMapper"
>
<select
id=
"selectlist"
parameterType=
"java.lang.String"
resultType=
"org.jeecg.modules.iost.basedata.entity.HouseWarehousing"
>
<select
id=
"selectlist"
parameterType=
"java.lang.String"
resultType=
"org.jeecg.modules.iost.basedata.entity.HouseWarehousing"
>
SELECT *
FROM
warehousing
FROM
house_
warehousing
<where>
<if
test=
"cangku != null"
>
and Warehouse
Id = #{cangku}
and Warehouse_
Id = #{cangku}
</if>
<if
test=
"cangwei != null"
>
and Position
Id = #{cangwei}
and Position_
Id = #{cangwei}
</if>
<if
test=
"productcodeid != null"
>
and ProductcodeId = #{productcodeid}
and Productcode
_
Id = #{productcodeid}
</if>
<if
test=
"productname != null"
>
and Productname = #{productname}
</if>
</where>
ORDER BY WarehouseId
</select>
ORDER BY Warehouse_Id
</select>
<update
id=
"editById"
parameterType=
"org.jeecg.modules.iost.basedata.entity.HouseWarehousing"
>
update warehousing
<set>
<if
test=
"null != productnumber and productnumber >0"
>
productnumber=#{productnumber},
</if>
<if
test=
"null != positionid and positionid !=''"
>
positionid=#{positionid},
</if>
</set>
where id=#{id}
</update>
</mapper>
\ No newline at end of file
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/mapper/xml/HouseWorkPickingMapper.xml
0 → 100644
浏览文件 @
384bdc3f
<?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.jeecg.modules.inandoutofstorage.basedata.mapper.HouseWorkPickingMapper"
>
</mapper>
\ No newline at end of file
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/mapper/xml/HouseWorkScanningMapper.xml
0 → 100644
浏览文件 @
384bdc3f
<?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.jeecg.modules.inandoutofstorage.basedata.mapper.HouseWorkScanningMapper"
>
</mapper>
\ No newline at end of file
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/service/HouseILocationReadyService.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
org.jeecg.modules.iost.basedata.entity.HouseLocationReady
;
import
java.util.List
;
/**
* @Description: 入库定位单-待上架明细
* @Author: jeecg-boot
* @Date: 2021-07-27
* @Version: V1.0
*/
public
interface
HouseILocationReadyService
extends
IService
<
HouseLocationReady
>
{
List
<
HouseLocationReady
>
getCheckIsLocation
(
HouseLocationReady
houseLocationReady
);
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/service/HouseISaleDetailedService.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
org.jeecg.modules.iost.basedata.entity.HouseProduct
;
import
org.jeecg.modules.iost.basedata.entity.HouseSaleDetailed
;
/**
* @Description: 销售
* @Author: jeecg-boot
* @Date: 2021-08-02
* @Version: V1.0
*/
public
interface
HouseISaleDetailedService
extends
IService
<
HouseSaleDetailed
>
{
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/service/HouseIWarehousingLocationService.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
org.jeecg.modules.iost.basedata.entity.HouseWarehouse
;
import
org.jeecg.modules.iost.basedata.entity.HouseWarehousingLocation
;
/**
* @Description: 入库定位单
* @Author: jeecg-boot
* @Date: 2021-07-27
* @Version: V1.0
*/
public
interface
HouseIWarehousingLocationService
extends
IService
<
HouseWarehousingLocation
>
{
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/service/HouseIWorkPickingService.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
org.jeecg.modules.iost.basedata.entity.HouseWorkPicking
;
/**
* @Description: 员工拣货工作量统计
* @Author: jeecg-boot
* @Date: 2021-07-22
* @Version: V1.0
*/
public
interface
HouseIWorkPickingService
extends
IService
<
HouseWorkPicking
>
{
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/service/HouseIWorkScanningService.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
org.jeecg.modules.iost.basedata.entity.HouseWorkScanning
;
/**
* @Description: 员工扫描工作量统计
* @Author: jeecg-boot
* @Date: 2021-07-21
* @Version: V1.0
*/
public
interface
HouseIWorkScanningService
extends
IService
<
HouseWorkScanning
>
{
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/service/impl/HouseLocationReadyServiceImpl.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
org.jeecg.modules.iost.basedata.entity.HouseLocationReady
;
import
org.jeecg.modules.iost.basedata.entity.HouseWarehousingLocation
;
import
org.jeecg.modules.iost.basedata.mapper.HouseLocationReadyMapper
;
import
org.jeecg.modules.iost.basedata.mapper.HouseWarehousingLocationMapper
;
import
org.jeecg.modules.iost.basedata.service.HouseILocationReadyService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
/**
* @Description: 入库单-待上架明细
* @Author: jeecg-boot
* @Date: 2021-07-27
* @Version: V1.0
*/
@Service
public
class
HouseLocationReadyServiceImpl
extends
ServiceImpl
<
HouseLocationReadyMapper
,
HouseLocationReady
>
implements
HouseILocationReadyService
{
@Autowired
private
HouseLocationReadyMapper
locationReadyMapper
;
public
List
<
HouseLocationReady
>
getCheckIsLocation
(
HouseLocationReady
houseLocationReady
)
{
return
locationReadyMapper
.
getCheckIsLocation
(
houseLocationReady
);
}
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/service/impl/HouseSaleDetailedServiceImpl.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
org.jeecg.modules.iost.basedata.entity.HouseSaleDetailed
;
import
org.jeecg.modules.iost.basedata.mapper.HouseSaleDetailedMapper
;
import
org.jeecg.modules.iost.basedata.service.HouseISaleDetailedService
;
import
org.springframework.stereotype.Service
;
/**
* @Description: 销售单表
* @Author: jeecg-boot
* @Date: 2021-06-08
* @Version: V1.0
*/
@Service
public
class
HouseSaleDetailedServiceImpl
extends
ServiceImpl
<
HouseSaleDetailedMapper
,
HouseSaleDetailed
>
implements
HouseISaleDetailedService
{
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/service/impl/HouseWarehousingLocationServiceImpl.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
org.jeecg.modules.iost.basedata.entity.HouseWarehousingLocation
;
import
org.jeecg.modules.iost.basedata.entity.HouseWorkPicking
;
import
org.jeecg.modules.iost.basedata.mapper.HouseWarehousingLocationMapper
;
import
org.jeecg.modules.iost.basedata.mapper.HouseWorkPickingMapper
;
import
org.jeecg.modules.iost.basedata.service.HouseIWarehousingLocationService
;
import
org.jeecg.modules.iost.basedata.service.HouseIWorkPickingService
;
import
org.springframework.stereotype.Service
;
/**
* @Description: 入库订单
* @Author: jeecg-boot
* @Date: 2021-07-22
* @Version: V1.0
*/
@Service
public
class
HouseWarehousingLocationServiceImpl
extends
ServiceImpl
<
HouseWarehousingLocationMapper
,
HouseWarehousingLocation
>
implements
HouseIWarehousingLocationService
{
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/service/impl/HouseWarehousingServiceImpl.java
浏览文件 @
384bdc3f
...
...
@@ -18,9 +18,9 @@ import java.util.List;
@Service
public
class
HouseWarehousingServiceImpl
extends
ServiceImpl
<
HouseWarehousingMapper
,
HouseWarehousing
>
implements
HouseIWarehousingService
{
@Autowired
House
IWarehousingService
houseIWarehousingService
;
House
WarehousingMapper
houseWarehousingMapper
;
@Override
public
List
<
HouseWarehousing
>
selectlist
(
String
cangku
,
String
cangwei
,
String
productcodeid
,
String
productname
)
{
return
house
IWarehousingService
.
selectlist
(
cangku
,
cangwei
,
productcodeid
,
productname
);
return
house
WarehousingMapper
.
selectlist
(
cangku
,
cangwei
,
productcodeid
,
productname
);
}
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/service/impl/HouseWorkPickingServiceServiceImpl.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
org.jeecg.modules.iost.basedata.entity.HouseWorkPicking
;
import
org.jeecg.modules.iost.basedata.mapper.HouseWorkPickingMapper
;
import
org.jeecg.modules.iost.basedata.service.HouseIWorkPickingService
;
import
org.springframework.stereotype.Service
;
/**
* @Description: 员工拣货工作量统计
* @Author: jeecg-boot
* @Date: 2021-07-22
* @Version: V1.0
*/
@Service
public
class
HouseWorkPickingServiceServiceImpl
extends
ServiceImpl
<
HouseWorkPickingMapper
,
HouseWorkPicking
>
implements
HouseIWorkPickingService
{
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/service/impl/HouseWorkScanningServiceImpl.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
org.jeecg.modules.iost.basedata.entity.HouseWorkScanning
;
import
org.jeecg.modules.iost.basedata.mapper.HouseWorkScanningMapper
;
import
org.jeecg.modules.iost.basedata.service.HouseIWorkScanningService
;
import
org.springframework.stereotype.Service
;
/**
* @Description: 员工扫描工作量统计
* @Author: jeecg-boot
* @Date: 2021-07-21
* @Version: V1.0
*/
@Service
public
class
HouseWorkScanningServiceImpl
extends
ServiceImpl
<
HouseWorkScanningMapper
,
HouseWorkScanning
>
implements
HouseIWorkScanningService
{
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/vo/HouseSaleDetailedVo.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
vo
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
org.jeecgframework.poi.excel.annotation.Excel
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* @Description: 仓库列表
* @Author: jeecg-boot
* @Date: 2021-06-04
* @Version: V1.0
*/
@Data
@ApiModel
(
value
=
"house_sale对象"
,
description
=
"销售单列表"
)
public
class
HouseSaleDetailedVo
{
/**主键*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ApiModelProperty
(
value
=
"主键"
)
private
String
id
;
/**拣货单号*/
@Excel
(
name
=
"拣货单号"
,
width
=
15
)
@ApiModelProperty
(
value
=
"拣货单号"
)
private
String
pickingid
;
/**库存定位类码*/
@Excel
(
name
=
"库存定位类码"
,
width
=
15
)
@ApiModelProperty
(
value
=
"库存定位类码"
)
private
Integer
warehousingId
;
/**
* 产品编码
*/
@Excel
(
name
=
"产品编码"
,
width
=
15
)
@ApiModelProperty
(
value
=
"产品编码"
)
private
String
productcodeId
;
/**
* 产品名称
*/
@Excel
(
name
=
"产品名称"
,
width
=
15
)
@ApiModelProperty
(
value
=
"产品名称"
)
private
String
productname
;
/**
* 功效
*/
@Excel
(
name
=
"功效"
,
width
=
15
)
@ApiModelProperty
(
value
=
"功效"
)
private
String
productnotes
;
/**
* 仓库
*/
@Excel
(
name
=
"仓库"
,
width
=
15
)
@ApiModelProperty
(
value
=
"仓库"
)
private
String
warehouseId
;
/**
* 仓位
*/
@Excel
(
name
=
"仓位"
,
width
=
15
)
@ApiModelProperty
(
value
=
"仓位"
)
private
String
positionId
;
/**
* 需求数量
*/
@Excel
(
name
=
"需求数量"
,
width
=
15
)
@ApiModelProperty
(
value
=
"需求数量"
)
private
Integer
demandNum
;
/**
* 完成数量
*/
@Excel
(
name
=
"完成数量"
,
width
=
15
)
@ApiModelProperty
(
value
=
"完成数量"
)
private
Integer
completeNum
;
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/vo/HouseWarehousingPage.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
vo
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.NoArgsConstructor
;
import
lombok.experimental.Accessors
;
import
org.jeecg.modules.iost.basedata.entity.HouseWarehousing
;
import
org.jeecgframework.poi.excel.annotation.Excel
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* @Description: 入库订单列表
* @Author: jeecg-boot
* @Date: 2021-06-04
* @Version: V1.0
*/
@Data
@ApiModel
(
value
=
"warehousing对象"
,
description
=
"移库列表"
)
public
class
HouseWarehousingPage
implements
Serializable
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ApiModelProperty
(
value
=
"主键"
)
private
int
id
;
/**
* 创建人
*/
@ApiModelProperty
(
value
=
"创建人"
)
private
String
createBy
;
/**
* 创建日期
*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
value
=
"创建日期"
)
private
Date
createTime
;
/**
* 更新人
*/
@ApiModelProperty
(
value
=
"更新人"
)
private
String
updateBy
;
/**
* 更新日期
*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
value
=
"更新日期"
)
private
Date
updateTime
;
/**
* 所属部门
*/
@ApiModelProperty
(
value
=
"所属部门"
)
private
String
sysOrgCode
;
/**
* 采购顶单号
*/
@Excel
(
name
=
"采购顶单号"
,
width
=
15
)
@ApiModelProperty
(
value
=
"采购顶单号"
)
private
Integer
purchaseid
;
/**
* 入库订单编号
*/
@Excel
(
name
=
"入库订单编号"
,
width
=
15
)
@ApiModelProperty
(
value
=
"入库订单编号"
)
private
Integer
warehousingId
;
/**
* 移出仓库
*/
@Excel
(
name
=
"移出仓库"
,
width
=
15
)
@ApiModelProperty
(
value
=
"移出仓库"
)
private
String
warehouseId
;
/**
* 移出仓位
*/
@Excel
(
name
=
"移出仓位"
,
width
=
15
)
@ApiModelProperty
(
value
=
"移出仓位"
)
private
String
positionId
;
/**
* 产品编码
*/
@Excel
(
name
=
"产品编码"
,
width
=
15
)
@ApiModelProperty
(
value
=
"产品编码"
)
private
String
productcodeId
;
/**
* 产品名称
*/
@Excel
(
name
=
"产品名称"
,
width
=
15
)
@ApiModelProperty
(
value
=
"产品名称"
)
private
String
productname
;
/**
* 数量
*/
@Excel
(
name
=
"数量"
,
width
=
15
)
@ApiModelProperty
(
value
=
"数量"
)
private
Integer
productnumber
;
/**
* 功效
*/
@Excel
(
name
=
"功效"
,
width
=
15
)
@ApiModelProperty
(
value
=
"功效"
)
private
String
productnotes
;
/**
* 工号
*/
@Excel
(
name
=
"工号"
,
width
=
15
)
@ApiModelProperty
(
value
=
"工号"
)
private
String
workNo
;
/**
* 操作员名称
*/
@Excel
(
name
=
"操作员名称"
,
width
=
15
)
@ApiModelProperty
(
value
=
"操作员名称"
)
private
String
realname
;
/**
* 上架时间
*/
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
value
=
"上架时间"
)
private
Date
shelftime
;
/**
* 移入仓库
*/
@Excel
(
name
=
"移入仓库"
,
width
=
15
)
@ApiModelProperty
(
value
=
"移入仓库"
)
private
String
productmove
;
/**
* 移入仓位
*/
@Excel
(
name
=
"移入仓位"
,
width
=
15
)
@ApiModelProperty
(
value
=
"移入仓位"
)
private
String
positionmove
;
/**
* 移出数量
*/
@Excel
(
name
=
"移出数量"
,
width
=
15
)
@ApiModelProperty
(
value
=
"移出数量"
)
private
Integer
moveNum
;
public
HouseWarehousing
asHouseWarehousing
()
{
return
new
HouseWarehousing
();
}
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/vo/HouseWarehousingVOs.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
vo
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
org.jeecg.modules.iost.basedata.entity.HouseWarehousing
;
import
org.jeecgframework.poi.excel.annotation.Excel
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
java.io.Serializable
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.Map
;
/**
* @Description: 入库订单列表
* @Author: jeecg-boot
* @Date: 2021-06-04
* @Version: V1.0
*/
@Data
@TableName
(
"house_warehousing"
)
@Accessors
(
chain
=
true
)
@EqualsAndHashCode
(
callSuper
=
false
)
@ApiModel
(
value
=
"warehousing对象"
,
description
=
"移库视图"
)
public
class
HouseWarehousingVOs
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
""
)
private
List
<
HouseWarehousingPage
>
data
;
/**创建人*/
@ApiModelProperty
(
value
=
""
)
private
Map
<
String
,
String
>
formData
;
}
\ No newline at end of file
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/vo/WareHouseInfoPage.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
vo
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
@Accessors
(
chain
=
true
)
@Data
@ApiModel
(
value
=
"house_warehousing对象"
,
description
=
"仓库仓位"
)
public
class
WareHouseInfoPage
{
/**
* 仓库名
*/
@ApiModelProperty
(
value
=
"仓库名"
)
private
String
wareHouseName
;
/**
* 仓号
*/
@ApiModelProperty
(
value
=
"仓号"
)
private
String
wareHouseNo
;
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/basedata/vo/WareInfoPage.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
iost
.
basedata
.
vo
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
@Accessors
(
chain
=
true
)
@Data
@ApiModel
(
value
=
"产品信息对象"
,
description
=
"产品信息"
)
public
class
WareInfoPage
{
/**
* 产品名
*/
@ApiModelProperty
(
value
=
"产品名"
)
private
String
wareName
;
/**
* 产品编号
*/
@ApiModelProperty
(
value
=
"产品编号"
)
private
String
[]
wareNo
;
/**
* 产品功效
*/
@ApiModelProperty
(
value
=
"产品功效"
)
private
String
[]
warePurpose
;
/**
* 产品数量
*/
@ApiModelProperty
(
value
=
"产品数量"
)
private
int
wareNum
;
}
jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/controller/LoginController.java
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
system
.
controller
;
import
cn.hutool.core.util.RandomUtil
;
import
cn.hutool.crypto.SecureUtil
;
import
com.alibaba.fastjson.JSONObject
;
import
com.aliyuncs.exceptions.ClientException
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
...
...
@@ -26,6 +25,7 @@ import org.jeecg.modules.system.service.ISysDictService;
import
org.jeecg.modules.system.service.ISysLogService
;
import
org.jeecg.modules.system.service.ISysUserService
;
import
org.jeecg.modules.system.util.RandImageUtil
;
import
org.jeecg.modules.system.vo.HousePDALoginVO
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
...
...
@@ -73,19 +73,19 @@ public class LoginController {
//update-begin--Author:scott Date:20190805 for:暂时注释掉密码加密逻辑,有点问题
//update-begin-author:taoyan date:20190828 for:校验验证码
String
captcha
=
sysLoginModel
.
getCaptcha
();
if
(
captcha
==
null
){
result
.
error500
(
"验证码无效"
);
return
result
;
}
String
lowerCaseCaptcha
=
captcha
.
toLowerCase
();
String
realKey
=
MD5Util
.
MD5Encode
(
lowerCaseCaptcha
+
sysLoginModel
.
getCheckKey
(),
"utf-8"
);
Object
checkCode
=
redisUtil
.
get
(
realKey
);
//当进入登录页时,有一定几率出现验证码错误 #1714
if
(
checkCode
==
null
||
!
checkCode
.
toString
().
equals
(
lowerCaseCaptcha
))
{
result
.
error500
(
"验证码错误"
);
return
result
;
}
//
String captcha = sysLoginModel.getCaptcha();
//
if(captcha==null){
//
result.error500("验证码无效");
//
return result;
//
}
//
String lowerCaseCaptcha = captcha.toLowerCase();
//
String realKey = MD5Util.MD5Encode(lowerCaseCaptcha+sysLoginModel.getCheckKey(), "utf-8");
//
Object checkCode = redisUtil.get(realKey);
//
//当进入登录页时,有一定几率出现验证码错误 #1714
//
if(checkCode==null || !checkCode.toString().equals(lowerCaseCaptcha)) {
//
result.error500("验证码错误");
//
return result;
//
}
//update-end-author:taoyan date:20190828 for:校验验证码
//1. 校验用户是否有效
...
...
@@ -116,7 +116,7 @@ public class LoginController {
//update-end--Author:wangshuai Date:20200714 for:登录日志没有记录人员
return
result
;
}
/**
* 退出登录
* @param request
...
...
@@ -150,7 +150,9 @@ public class LoginController {
return
Result
.
error
(
"Token无效!"
);
}
}
/**
* 获取访问量
* @return
...
...
jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/vo/HousePDALoginVO.java
0 → 100644
浏览文件 @
384bdc3f
package
org
.
jeecg
.
modules
.
system
.
vo
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
/**
* 登录表单
*
* @Author scott
* @since 2019-01-18
*/
@ApiModel
(
value
=
"PDA登录对象"
,
description
=
"PDA登录对象"
)
public
class
HousePDALoginVO
{
@ApiModelProperty
(
value
=
"账号"
)
private
String
username
;
@ApiModelProperty
(
value
=
"密码"
)
private
String
password
;
public
String
getUsername
()
{
return
username
;
}
public
void
setUsername
(
String
username
)
{
this
.
username
=
username
;
}
public
String
getPassword
()
{
return
password
;
}
public
void
setPassword
(
String
password
)
{
this
.
password
=
password
;
}
}
\ No newline at end of file
jeecg-boot-module-system/src/main/resources/application-test.yml
浏览文件 @
384bdc3f
...
...
@@ -131,6 +131,11 @@ spring:
username
:
root
password
:
root
driver-class-name
:
com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://wmssystem-mysql:13579/wmssystem?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
# username: root
# password: gf^*i6%&9J83&(*kJ653F&L
# driver-class-name: com.mysql.cj.jdbc.Driver
# 多数据源配置
#multi-datasource1:
# url: jdbc:mysql://localhost:3306/ceshi2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
...
...
jeecg-boot-module-system/src/test/java/org/jeecg/SecurityToolsTest.java
浏览文件 @
384bdc3f
package
org
.
jeecg
;
import
cn.hutool.json.JSONObject
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
io.swagger.annotations.ApiOperation
;
import
org.jeecg.common.api.vo.Result
;
import
org.jeecg.common.aspect.annotation.AutoLog
;
import
org.jeecg.common.util.security.SecurityTools
;
import
org.jeecg.common.util.security.entity.*
;
import
org.jeecg.modules.iost.basedata.entity.HouseLocationReady
;
import
org.jeecg.modules.iost.basedata.entity.HouseWarehouse
;
import
org.jeecg.modules.iost.basedata.service.HouseILocationReadyService
;
import
org.jeecg.modules.iost.basedata.service.HouseIWarehouseService
;
import
org.junit.Test
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
java.util.List
;
public
class
SecurityToolsTest
{
@Autowired
private
HouseIWarehouseService
warehouseService
;
private
HouseIWarehouseService
warehouseService
;
@Autowired
private
HouseILocationReadyService
locationReadyService
;
@Test
public
void
Test
(){
public
void
Test
()
{
MyKeyPair
mkeyPair
=
SecurityTools
.
generateKeyPair
();
JSONObject
msg
=
new
JSONObject
();
...
...
@@ -54,15 +63,10 @@ public class SecurityToolsTest {
//sucess 为验签成功失败标志 true代码验签成功,false代表失败
System
.
out
.
println
(
new
JSONObject
(
securityResp
).
toStringPretty
());
}
@AutoLog
(
value
=
"仓库列表-通过仓位查询"
)
@ApiOperation
(
value
=
"仓库列表-通过仓位查询"
,
notes
=
"仓库列表-通过仓位查询"
)
@GetMapping
(
value
=
"/querypositionid"
)
@Test
public
void
querypositionid
()
{
HouseWarehouse
houseWarehouse
=
warehouseService
.
getBaseMapper
().
selectById
(
1
);
//new QueryWrapper<Warehouse>().like("PositionId","A001"));
if
(
houseWarehouse
==
null
)
{
//return Result.error("未找到对应数据");
}
//return Result.OK(warehouse);
//
}
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论