Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
device-back
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Matrix
device-back
Commits
ecac129d
提交
ecac129d
authored
2月 25, 2021
作者:
邓砥奕
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新
上级
b2cf3f6d
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
20 行增加
和
4 行删除
+20
-4
AllotBackBillServiceImpl.java
...v/device/allot/service/impl/AllotBackBillServiceImpl.java
+8
-0
AllotBillServiceImpl.java
...j/dev/device/allot/service/impl/AllotBillServiceImpl.java
+8
-0
DeviceInLibVo.java
...tykj/dev/device/confirmcheck/entity/vo/DeviceInLibVo.java
+1
-1
DeviceNotInLibVo.java
...j/dev/device/confirmcheck/entity/vo/DeviceNotInLibVo.java
+1
-1
ObjTransUtil.java
.../com/tykj/dev/device/confirmcheck/utils/ObjTransUtil.java
+2
-2
没有找到文件。
dev-allot/src/main/java/com/tykj/dev/device/allot/service/impl/AllotBackBillServiceImpl.java
浏览文件 @
ecac129d
...
@@ -10,6 +10,7 @@ import com.tykj.dev.device.allot.service.AllotBackBillService;
...
@@ -10,6 +10,7 @@ import com.tykj.dev.device.allot.service.AllotBackBillService;
import
com.tykj.dev.device.allot.subject.domin.AllotBackBill
;
import
com.tykj.dev.device.allot.subject.domin.AllotBackBill
;
import
com.tykj.dev.device.allot.subject.vo.AllotBillSelectVo
;
import
com.tykj.dev.device.allot.subject.vo.AllotBillSelectVo
;
import
com.tykj.dev.device.user.subject.service.UserPublicService
;
import
com.tykj.dev.device.user.subject.service.UserPublicService
;
import
com.tykj.dev.device.user.util.UserUtils
;
import
com.tykj.dev.misc.exception.ApiException
;
import
com.tykj.dev.misc.exception.ApiException
;
import
com.tykj.dev.misc.utils.JacksonUtil
;
import
com.tykj.dev.misc.utils.JacksonUtil
;
import
com.tykj.dev.misc.utils.ResultUtil
;
import
com.tykj.dev.misc.utils.ResultUtil
;
...
@@ -41,6 +42,9 @@ public class AllotBackBillServiceImpl implements AllotBackBillService {
...
@@ -41,6 +42,9 @@ public class AllotBackBillServiceImpl implements AllotBackBillService {
@Autowired
@Autowired
private
UserPublicService
userPublicService
;
private
UserPublicService
userPublicService
;
@Autowired
private
UserUtils
userUtils
;
@Override
@Override
public
AllotBackBill
addEntity
(
AllotBackBill
allotBackBill
)
{
public
AllotBackBill
addEntity
(
AllotBackBill
allotBackBill
)
{
AllotBackBill
allotBackBill1
=
allotBackBillDao
.
save
(
allotBackBill
);
AllotBackBill
allotBackBill1
=
allotBackBillDao
.
save
(
allotBackBill
);
...
@@ -103,6 +107,10 @@ public class AllotBackBillServiceImpl implements AllotBackBillService {
...
@@ -103,6 +107,10 @@ public class AllotBackBillServiceImpl implements AllotBackBillService {
private
Specification
<
AllotBackBill
>
getSelectSpecification
(
AllotBillSelectVo
allotBillSelectVo
)
{
private
Specification
<
AllotBackBill
>
getSelectSpecification
(
AllotBillSelectVo
allotBillSelectVo
)
{
PredicateBuilder
<
AllotBackBill
>
predicateBuilder
=
Specifications
.
and
();
PredicateBuilder
<
AllotBackBill
>
predicateBuilder
=
Specifications
.
and
();
PredicateBuilder
<
AllotBackBill
>
predicateBuilder1
=
Specifications
.
or
();
predicateBuilder1
.
eq
(
"sendUnit"
,
userUtils
.
getCurrentUserUnitName
());
predicateBuilder1
.
eq
(
"receiveUnit"
,
userUtils
.
getCurrentUserUnitName
());
predicateBuilder
.
predicate
(
predicateBuilder1
.
build
());
if
(
allotBillSelectVo
!=
null
)
{
if
(
allotBillSelectVo
!=
null
)
{
if
(
allotBillSelectVo
.
getReplayNumber
()
!=
null
)
{
if
(
allotBillSelectVo
.
getReplayNumber
()
!=
null
)
{
predicateBuilder
.
eq
(
"replayNumber"
,
allotBillSelectVo
.
getReplayNumber
());
predicateBuilder
.
eq
(
"replayNumber"
,
allotBillSelectVo
.
getReplayNumber
());
...
...
dev-allot/src/main/java/com/tykj/dev/device/allot/service/impl/AllotBillServiceImpl.java
浏览文件 @
ecac129d
...
@@ -10,6 +10,7 @@ import com.tykj.dev.device.allot.service.AllotBillService;
...
@@ -10,6 +10,7 @@ import com.tykj.dev.device.allot.service.AllotBillService;
import
com.tykj.dev.device.allot.subject.domin.AllotBill
;
import
com.tykj.dev.device.allot.subject.domin.AllotBill
;
import
com.tykj.dev.device.allot.subject.vo.AllotBillSelectVo
;
import
com.tykj.dev.device.allot.subject.vo.AllotBillSelectVo
;
import
com.tykj.dev.device.user.subject.service.UserPublicService
;
import
com.tykj.dev.device.user.subject.service.UserPublicService
;
import
com.tykj.dev.device.user.util.UserUtils
;
import
com.tykj.dev.misc.utils.JacksonUtil
;
import
com.tykj.dev.misc.utils.JacksonUtil
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.data.domain.Page
;
import
org.springframework.data.domain.Page
;
...
@@ -39,6 +40,9 @@ public class AllotBillServiceImpl implements AllotBillService {
...
@@ -39,6 +40,9 @@ public class AllotBillServiceImpl implements AllotBillService {
@Autowired
@Autowired
private
BlockChainUtil
blockChainUtil
;
private
BlockChainUtil
blockChainUtil
;
@Autowired
private
UserUtils
userUtils
;
@Override
@Override
public
AllotBill
addEntity
(
AllotBill
allotBillEntity
)
{
public
AllotBill
addEntity
(
AllotBill
allotBillEntity
)
{
AllotBill
allotBill
=
allotBillDao
.
save
(
allotBillEntity
);
AllotBill
allotBill
=
allotBillDao
.
save
(
allotBillEntity
);
...
@@ -108,6 +112,10 @@ public class AllotBillServiceImpl implements AllotBillService {
...
@@ -108,6 +112,10 @@ public class AllotBillServiceImpl implements AllotBillService {
private
Specification
<
AllotBill
>
getSelectSpecification
(
AllotBillSelectVo
allotBillSelectVo
)
{
private
Specification
<
AllotBill
>
getSelectSpecification
(
AllotBillSelectVo
allotBillSelectVo
)
{
PredicateBuilder
<
AllotBill
>
predicateBuilder
=
Specifications
.
and
();
PredicateBuilder
<
AllotBill
>
predicateBuilder
=
Specifications
.
and
();
PredicateBuilder
<
AllotBill
>
predicateBuilder1
=
Specifications
.
or
();
predicateBuilder1
.
eq
(
"sendUnit"
,
userUtils
.
getCurrentUserUnitName
());
predicateBuilder1
.
eq
(
"receiveUnit"
,
userUtils
.
getCurrentUserUnitName
());
predicateBuilder
.
predicate
(
predicateBuilder1
.
build
());
if
(
allotBillSelectVo
!=
null
)
{
if
(
allotBillSelectVo
!=
null
)
{
if
(
allotBillSelectVo
.
getReplayNumber
()
!=
null
)
{
if
(
allotBillSelectVo
.
getReplayNumber
()
!=
null
)
{
predicateBuilder
.
eq
(
"replayNumber"
,
allotBillSelectVo
.
getReplayNumber
());
predicateBuilder
.
eq
(
"replayNumber"
,
allotBillSelectVo
.
getReplayNumber
());
...
...
dev-confirmcheck/src/main/java/com/tykj/dev/device/confirmcheck/entity/vo/DeviceInLibVo.java
浏览文件 @
ecac129d
...
@@ -34,7 +34,7 @@ public class DeviceInLibVo {
...
@@ -34,7 +34,7 @@ public class DeviceInLibVo {
*/
*/
private
int
proofResult
;
private
int
proofResult
;
private
int
applyTyp
e
;
private
int
invisibleRang
e
;
private
int
style
;
private
int
style
;
...
...
dev-confirmcheck/src/main/java/com/tykj/dev/device/confirmcheck/entity/vo/DeviceNotInLibVo.java
浏览文件 @
ecac129d
...
@@ -35,7 +35,7 @@ public class DeviceNotInLibVo {
...
@@ -35,7 +35,7 @@ public class DeviceNotInLibVo {
private
int
status
;
private
int
status
;
private
int
applyType
;
private
int
invisibleRange
;
;
private
int
style
;
private
int
style
;
...
...
dev-confirmcheck/src/main/java/com/tykj/dev/device/confirmcheck/utils/ObjTransUtil.java
浏览文件 @
ecac129d
...
@@ -318,7 +318,7 @@ public class ObjTransUtil {
...
@@ -318,7 +318,7 @@ public class ObjTransUtil {
device
.
getRfidSurfaceId
(),
device
.
getRfidSurfaceId
(),
device
.
getRfidCardId
(),
device
.
getRfidCardId
(),
proofResult
,
proofResult
,
packingLibrary
.
getApplyTyp
e
(),
device
.
getInvisibleRang
e
(),
packingLibrary
.
getStyle
(),
packingLibrary
.
getStyle
(),
device
.
getSecretLevel
()
device
.
getSecretLevel
()
);
);
...
@@ -337,7 +337,7 @@ public class ObjTransUtil {
...
@@ -337,7 +337,7 @@ public class ObjTransUtil {
device
.
getLocationUnit
(),
device
.
getLocationUnit
(),
device
.
getOwnUnit
(),
device
.
getOwnUnit
(),
device
.
getLifeStatus
(),
device
.
getLifeStatus
(),
packingLibrary
.
getApplyTyp
e
(),
device
.
getInvisibleRang
e
(),
packingLibrary
.
getStyle
(),
packingLibrary
.
getStyle
(),
device
.
getSecretLevel
()
device
.
getSecretLevel
()
);
);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论