Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wios
概览
Overview
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
苗卫卫
wios
Commits
634f614e
提交
634f614e
authored
11月 27, 2023
作者:
luyincheng
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of code.sz-chaohui.cn:miaoweiw/wios
父级
80c613a5
4673a92c
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
50 行增加
和
35 行删除
+50
-35
src/main/java/com/starcharge/wios/controller/OrderInstallController.java
+2
-2
src/main/java/com/starcharge/wios/controller/RejectController.java
+1
-1
src/main/java/com/starcharge/wios/dao/entity/Tauxiliarymaterials.java
+9
-0
src/main/java/com/starcharge/wios/dao/mappers/DeliveryMapper.xml
+2
-2
src/main/java/com/starcharge/wios/dao/mappers/TauxiliarymaterialsMapper.xml
+36
-30
没有找到文件。
src/main/java/com/starcharge/wios/controller/OrderInstallController.java
查看文件 @
634f614e
...
@@ -101,13 +101,13 @@ public class OrderInstallController {
...
@@ -101,13 +101,13 @@ public class OrderInstallController {
return
new
BaseResponse
<
OrderInstallVo
>(
orderInstall
);
return
new
BaseResponse
<
OrderInstallVo
>(
orderInstall
);
}
}
/**
/**
*
填写安装报告
*
校验墙盒SN号
*
*
* @param materialSn
* @param materialSn
* @return
* @return
*/
*/
@PostMapping
(
value
=
"orderInstall/instaallReport"
)
@PostMapping
(
value
=
"orderInstall/instaallReport"
)
@ApiOperation
(
value
=
"
填写安装报告
"
)
@ApiOperation
(
value
=
"
校验墙盒SN号
"
)
public
BaseResponse
<
Object
>
instaallReport
(
String
materialSn
)
{
public
BaseResponse
<
Object
>
instaallReport
(
String
materialSn
)
{
Delivery
delivery
=
this
.
deliveryMapper
.
selectByMaterialSn
(
materialSn
);
Delivery
delivery
=
this
.
deliveryMapper
.
selectByMaterialSn
(
materialSn
);
if
(
StringUtils
.
isEmpty
(
delivery
)){
if
(
StringUtils
.
isEmpty
(
delivery
)){
...
...
src/main/java/com/starcharge/wios/controller/RejectController.java
查看文件 @
634f614e
...
@@ -154,7 +154,7 @@ public class RejectController {
...
@@ -154,7 +154,7 @@ public class RejectController {
if
(
StringUtil
.
isNullOrEmpty
(
codeReduce
)){
if
(
StringUtil
.
isNullOrEmpty
(
codeReduce
)){
throw
new
ServiceException
(
"到货仓库库存扣减失败"
);
throw
new
ServiceException
(
"到货仓库库存扣减失败"
);
}
}
deliveryUpdateDTO
.
setLogisticStatus
(
"退货
已申请
"
);
deliveryUpdateDTO
.
setLogisticStatus
(
"退货
完成
"
);
this
.
commonUpdateService
.
UpdateColumns
(
deliveryUpdateDTO
,
false
);
this
.
commonUpdateService
.
UpdateColumns
(
deliveryUpdateDTO
,
false
);
return
new
BaseResponse
(
this
.
deliveryMapper
.
updateByPrimaryKeySelective
(
deliveryUpdateDTO
));
return
new
BaseResponse
(
this
.
deliveryMapper
.
updateByPrimaryKeySelective
(
deliveryUpdateDTO
));
}
}
...
...
src/main/java/com/starcharge/wios/dao/entity/Tauxiliarymaterials.java
查看文件 @
634f614e
...
@@ -293,4 +293,12 @@ public class Tauxiliarymaterials extends PageVo implements Serializable{
...
@@ -293,4 +293,12 @@ public class Tauxiliarymaterials extends PageVo implements Serializable{
*/
*/
@ApiModelProperty
(
value
=
"物流id和服务商"
)
@ApiModelProperty
(
value
=
"物流id和服务商"
)
private
List
<
String
>
logisticIdAndCompany
;
private
List
<
String
>
logisticIdAndCompany
;
/**
* 服务商ID
*
* @mbg.generated
*/
@ApiModelProperty
(
value
=
"服务商ID"
)
private
Integer
supplierId
;
}
}
\ No newline at end of file
src/main/java/com/starcharge/wios/dao/mappers/DeliveryMapper.xml
查看文件 @
634f614e
...
@@ -553,8 +553,8 @@
...
@@ -553,8 +553,8 @@
<if
test=
"fileUrl != null"
>
<if
test=
"fileUrl != null"
>
file_url = #{fileUrl,jdbcType=VARCHAR},
file_url = #{fileUrl,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
materialSn
!= null"
>
<if
test=
"
installStatus
!= null"
>
material_sn = #{materialSn,jdbcType=VARCHA
R},
install_status = #{installStatus,jdbcType=INTEGE
R},
</if>
</if>
</set>
</set>
where id = #{id,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
...
...
src/main/java/com/starcharge/wios/dao/mappers/TauxiliarymaterialsMapper.xml
查看文件 @
634f614e
...
@@ -626,37 +626,43 @@
...
@@ -626,37 +626,43 @@
</sql>
</sql>
<select
id=
"selectTAuxiliaryMaterialsList"
parameterType=
"com.starcharge.wios.dao.entity.Tauxiliarymaterials"
resultMap=
"BaseResultMap"
>
<select
id=
"selectTAuxiliaryMaterialsList"
parameterType=
"com.starcharge.wios.dao.entity.Tauxiliarymaterials"
resultMap=
"BaseResultMap"
>
<include
refid=
"selectTAuxiliaryMaterialsVo"
/>
select t.id, t.material_code, t.material_name, t.measurement_unit, t.apply_quantity, t.approved_quantity, t.currenty_sap,
t.month_amount_sap, t.year_amount, t.apply_status, t.team, t.logistic_status, t.receiving_status, t.recipents,
t.receive_address, t.receive_phone, t.apply_time, t.check_user, t.check_user_name, t.check_time, t.check_suggestion,
t.CREATED_BY, t.CREATED_TIME, t.UPDATED_BY, t.UPDATED_TIME, t.install_order, t.specification, t.logistic_order,
t.apply_inventory, t.apply_order,ts.id supplierId
from t_auxiliary_materials t
left join t_supplier ts on ts.name = t.team
<where>
<where>
<if
test=
"materialCode != null and materialCode != ''"
>
and material_code like concat('%', #{materialCode}, '%')
</if>
<if
test=
"materialCode != null and materialCode != ''"
>
and
t.
material_code like concat('%', #{materialCode}, '%')
</if>
<if
test=
"materialName != null and materialName != ''"
>
and material_name like concat('%', #{materialName}, '%')
</if>
<if
test=
"materialName != null and materialName != ''"
>
and
t.
material_name like concat('%', #{materialName}, '%')
</if>
<if
test=
"measurementUnit != null and measurementUnit != ''"
>
and measurement_unit = #{measurementUnit}
</if>
<if
test=
"measurementUnit != null and measurementUnit != ''"
>
and
t.
measurement_unit = #{measurementUnit}
</if>
<if
test=
"applyQuantity != null and applyQuantity != ''"
>
and apply_quantity = #{applyQuantity}
</if>
<if
test=
"applyQuantity != null and applyQuantity != ''"
>
and
t.
apply_quantity = #{applyQuantity}
</if>
<if
test=
"approvedQuantity != null and approvedQuantity != ''"
>
and approved_quantity = #{approvedQuantity}
</if>
<if
test=
"approvedQuantity != null and approvedQuantity != ''"
>
and
t.
approved_quantity = #{approvedQuantity}
</if>
<if
test=
"currentySap != null and currentySap != ''"
>
and currenty_sap = #{currentySap}
</if>
<if
test=
"currentySap != null and currentySap != ''"
>
and
t.
currenty_sap = #{currentySap}
</if>
<if
test=
"monthAmountSap != null and monthAmountSap != ''"
>
and month_amount_sap = #{monthAmountSap}
</if>
<if
test=
"monthAmountSap != null and monthAmountSap != ''"
>
and
t.
month_amount_sap = #{monthAmountSap}
</if>
<if
test=
"yearAmount != null and yearAmount != ''"
>
and year_amount = #{yearAmount}
</if>
<if
test=
"yearAmount != null and yearAmount != ''"
>
and
t.
year_amount = #{yearAmount}
</if>
<if
test=
"applyStatus != null and applyStatus != ''"
>
and apply_status = #{applyStatus}
</if>
<if
test=
"applyStatus != null and applyStatus != ''"
>
and
t.
apply_status = #{applyStatus}
</if>
<if
test=
"team != null and team != ''"
>
and team like concat('%', #{team}, '%')
</if>
<if
test=
"team != null and team != ''"
>
and t
.t
eam like concat('%', #{team}, '%')
</if>
<if
test=
"logisticStatus != null and logisticStatus != ''"
>
and logistic_status = #{logisticStatus}
</if>
<if
test=
"logisticStatus != null and logisticStatus != ''"
>
and
t.
logistic_status = #{logisticStatus}
</if>
<if
test=
"receivingStatus != null and receivingStatus != ''"
>
and receiving_status = #{receivingStatus}
</if>
<if
test=
"receivingStatus != null and receivingStatus != ''"
>
and
t.
receiving_status = #{receivingStatus}
</if>
<if
test=
"recipents != null and recipents != ''"
>
and recipents = #{recipents}
</if>
<if
test=
"recipents != null and recipents != ''"
>
and
t.
recipents = #{recipents}
</if>
<if
test=
"receiveAddress != null and receiveAddress != ''"
>
and receive_address = #{receiveAddress}
</if>
<if
test=
"receiveAddress != null and receiveAddress != ''"
>
and
t.
receive_address = #{receiveAddress}
</if>
<if
test=
"receivePhone != null and receivePhone != ''"
>
and receive_phone = #{receivePhone}
</if>
<if
test=
"receivePhone != null and receivePhone != ''"
>
and
t.
receive_phone = #{receivePhone}
</if>
<if
test=
"applyTime != null "
>
and apply_time = #{applyTime}
</if>
<if
test=
"applyTime != null "
>
and
t.
apply_time = #{applyTime}
</if>
<if
test=
"checkUser != null and checkUser != ''"
>
and check_user = #{checkUser}
</if>
<if
test=
"checkUser != null and checkUser != ''"
>
and
t.
check_user = #{checkUser}
</if>
<if
test=
"checkUserName != null and checkUserName != ''"
>
and check_user_name like concat('%', #{checkUserName}, '%')
</if>
<if
test=
"checkUserName != null and checkUserName != ''"
>
and
t.
check_user_name like concat('%', #{checkUserName}, '%')
</if>
<if
test=
"checkTime != null "
>
and check_time = #{checkTime}
</if>
<if
test=
"checkTime != null "
>
and
t.
check_time = #{checkTime}
</if>
<if
test=
"checkSuggestion != null and checkSuggestion != ''"
>
and check_suggestion = #{checkSuggestion}
</if>
<if
test=
"checkSuggestion != null and checkSuggestion != ''"
>
and
t.
check_suggestion = #{checkSuggestion}
</if>
<if
test=
"createdBy != null and createdBy != ''"
>
and CREATED_BY = #{createdBy}
</if>
<if
test=
"createdBy != null and createdBy != ''"
>
and
t.
CREATED_BY = #{createdBy}
</if>
<if
test=
"createdTime != null "
>
and CREATED_TIME = #{createdTime}
</if>
<if
test=
"createdTime != null "
>
and
t.
CREATED_TIME = #{createdTime}
</if>
<if
test=
"updatedBy != null and updatedBy != ''"
>
and UPDATED_BY = #{updatedBy}
</if>
<if
test=
"updatedBy != null and updatedBy != ''"
>
and
t.
UPDATED_BY = #{updatedBy}
</if>
<if
test=
"updatedTime != null "
>
and UPDATED_TIME = #{updatedTime}
</if>
<if
test=
"updatedTime != null "
>
and
t.
UPDATED_TIME = #{updatedTime}
</if>
<if
test=
"installOrder != null and installOrder != ''"
>
and install_order like concat('%', #{installOrder}, '%')
</if>
<if
test=
"installOrder != null and installOrder != ''"
>
and
t.
install_order like concat('%', #{installOrder}, '%')
</if>
<if
test=
"specification != null and specification != ''"
>
and specification = #{specification}
</if>
<if
test=
"specification != null and specification != ''"
>
and
t.
specification = #{specification}
</if>
<if
test=
"logisticOrder != null and logisticOrder != ''"
>
and logistic_order = #{logisticOrder}
</if>
<if
test=
"logisticOrder != null and logisticOrder != ''"
>
and
t.
logistic_order = #{logisticOrder}
</if>
<if
test=
"applyInventory != null and applyInventory != ''"
>
and apply_inventory = #{applyInventory}
</if>
<if
test=
"applyInventory != null and applyInventory != ''"
>
and
t.
apply_inventory = #{applyInventory}
</if>
<if
test=
"applyOrder != null and applyOrder != ''"
>
and apply_order like concat('%', #{applyOrder}, '%')
</if>
<if
test=
"applyOrder != null and applyOrder != ''"
>
and
t.
apply_order like concat('%', #{applyOrder}, '%')
</if>
</where>
</where>
</select>
</select>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论