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
4673a92c
提交
4673a92c
authored
1 年前
作者:
zhangqiliang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
查询辅材申请列表多查询一个服务商ID信息
父级
2119c3c0
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
48 行增加
和
33 行删除
+48
-33
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/TauxiliarymaterialsMapper.xml
+36
-30
没有找到文件。
src/main/java/com/starcharge/wios/controller/OrderInstallController.java
查看文件 @
4673a92c
...
...
@@ -101,13 +101,13 @@ public class OrderInstallController {
return
new
BaseResponse
<
OrderInstallVo
>(
orderInstall
);
}
/**
*
填写安装报告
*
校验墙盒SN号
*
* @param materialSn
* @return
*/
@PostMapping
(
value
=
"orderInstall/instaallReport"
)
@ApiOperation
(
value
=
"
填写安装报告
"
)
@ApiOperation
(
value
=
"
校验墙盒SN号
"
)
public
BaseResponse
<
Object
>
instaallReport
(
String
materialSn
)
{
Delivery
delivery
=
this
.
deliveryMapper
.
selectByMaterialSn
(
materialSn
);
if
(
StringUtils
.
isEmpty
(
delivery
)){
...
...
This diff is collapsed.
Click to expand it.
src/main/java/com/starcharge/wios/controller/RejectController.java
查看文件 @
4673a92c
...
...
@@ -154,7 +154,7 @@ public class RejectController {
if
(
StringUtil
.
isNullOrEmpty
(
codeReduce
)){
throw
new
ServiceException
(
"到货仓库库存扣减失败"
);
}
deliveryUpdateDTO
.
setLogisticStatus
(
"退货
已申请
"
);
deliveryUpdateDTO
.
setLogisticStatus
(
"退货
完成
"
);
this
.
commonUpdateService
.
UpdateColumns
(
deliveryUpdateDTO
,
false
);
return
new
BaseResponse
(
this
.
deliveryMapper
.
updateByPrimaryKeySelective
(
deliveryUpdateDTO
));
}
...
...
This diff is collapsed.
Click to expand it.
src/main/java/com/starcharge/wios/dao/entity/Tauxiliarymaterials.java
查看文件 @
4673a92c
...
...
@@ -293,4 +293,12 @@ public class Tauxiliarymaterials extends PageVo implements Serializable{
*/
@ApiModelProperty
(
value
=
"物流id和服务商"
)
private
List
<
String
>
logisticIdAndCompany
;
/**
* 服务商ID
*
* @mbg.generated
*/
@ApiModelProperty
(
value
=
"服务商ID"
)
private
Integer
supplierId
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/main/java/com/starcharge/wios/dao/mappers/TauxiliarymaterialsMapper.xml
查看文件 @
4673a92c
...
...
@@ -626,37 +626,43 @@
</sql>
<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>
<if
test=
"materialCode != null and materialCode != ''"
>
and material_code like concat('%', #{materialCode}, '%')
</if>
<if
test=
"materialName != null and materialName != ''"
>
and material_name like concat('%', #{materialName}, '%')
</if>
<if
test=
"measurementUnit != null and measurementUnit != ''"
>
and measurement_unit = #{measurementUnit}
</if>
<if
test=
"applyQuantity != null and applyQuantity != ''"
>
and apply_quantity = #{applyQuantity}
</if>
<if
test=
"approvedQuantity != null and approvedQuantity != ''"
>
and approved_quantity = #{approvedQuantity}
</if>
<if
test=
"currentySap != null and currentySap != ''"
>
and currenty_sap = #{currentySap}
</if>
<if
test=
"monthAmountSap != null and monthAmountSap != ''"
>
and month_amount_sap = #{monthAmountSap}
</if>
<if
test=
"yearAmount != null and yearAmount != ''"
>
and year_amount = #{yearAmount}
</if>
<if
test=
"applyStatus != null and applyStatus != ''"
>
and apply_status = #{applyStatus}
</if>
<if
test=
"team != null and team != ''"
>
and team like concat('%', #{team}, '%')
</if>
<if
test=
"logisticStatus != null and logisticStatus != ''"
>
and logistic_status = #{logisticStatus}
</if>
<if
test=
"receivingStatus != null and receivingStatus != ''"
>
and receiving_status = #{receivingStatus}
</if>
<if
test=
"recipents != null and recipents != ''"
>
and recipents = #{recipents}
</if>
<if
test=
"receiveAddress != null and receiveAddress != ''"
>
and receive_address = #{receiveAddress}
</if>
<if
test=
"receivePhone != null and receivePhone != ''"
>
and receive_phone = #{receivePhone}
</if>
<if
test=
"applyTime != null "
>
and apply_time = #{applyTime}
</if>
<if
test=
"checkUser != null and checkUser != ''"
>
and check_user = #{checkUser}
</if>
<if
test=
"checkUserName != null and checkUserName != ''"
>
and check_user_name like concat('%', #{checkUserName}, '%')
</if>
<if
test=
"checkTime != null "
>
and check_time = #{checkTime}
</if>
<if
test=
"checkSuggestion != null and checkSuggestion != ''"
>
and check_suggestion = #{checkSuggestion}
</if>
<if
test=
"createdBy != null and createdBy != ''"
>
and CREATED_BY = #{createdBy}
</if>
<if
test=
"createdTime != null "
>
and CREATED_TIME = #{createdTime}
</if>
<if
test=
"updatedBy != null and updatedBy != ''"
>
and UPDATED_BY = #{updatedBy}
</if>
<if
test=
"updatedTime != null "
>
and UPDATED_TIME = #{updatedTime}
</if>
<if
test=
"installOrder != null and installOrder != ''"
>
and install_order like concat('%', #{installOrder}, '%')
</if>
<if
test=
"specification != null and specification != ''"
>
and specification = #{specification}
</if>
<if
test=
"logisticOrder != null and logisticOrder != ''"
>
and logistic_order = #{logisticOrder}
</if>
<if
test=
"applyInventory != null and applyInventory != ''"
>
and apply_inventory = #{applyInventory}
</if>
<if
test=
"applyOrder != null and applyOrder != ''"
>
and apply_order like concat('%', #{applyOrder}, '%')
</if>
<if
test=
"materialCode != null and materialCode != ''"
>
and
t.
material_code like concat('%', #{materialCode}, '%')
</if>
<if
test=
"materialName != null and materialName != ''"
>
and
t.
material_name like concat('%', #{materialName}, '%')
</if>
<if
test=
"measurementUnit != null and measurementUnit != ''"
>
and
t.
measurement_unit = #{measurementUnit}
</if>
<if
test=
"applyQuantity != null and applyQuantity != ''"
>
and
t.
apply_quantity = #{applyQuantity}
</if>
<if
test=
"approvedQuantity != null and approvedQuantity != ''"
>
and
t.
approved_quantity = #{approvedQuantity}
</if>
<if
test=
"currentySap != null and currentySap != ''"
>
and
t.
currenty_sap = #{currentySap}
</if>
<if
test=
"monthAmountSap != null and monthAmountSap != ''"
>
and
t.
month_amount_sap = #{monthAmountSap}
</if>
<if
test=
"yearAmount != null and yearAmount != ''"
>
and
t.
year_amount = #{yearAmount}
</if>
<if
test=
"applyStatus != null and applyStatus != ''"
>
and
t.
apply_status = #{applyStatus}
</if>
<if
test=
"team != null and team != ''"
>
and t
.t
eam like concat('%', #{team}, '%')
</if>
<if
test=
"logisticStatus != null and logisticStatus != ''"
>
and
t.
logistic_status = #{logisticStatus}
</if>
<if
test=
"receivingStatus != null and receivingStatus != ''"
>
and
t.
receiving_status = #{receivingStatus}
</if>
<if
test=
"recipents != null and recipents != ''"
>
and
t.
recipents = #{recipents}
</if>
<if
test=
"receiveAddress != null and receiveAddress != ''"
>
and
t.
receive_address = #{receiveAddress}
</if>
<if
test=
"receivePhone != null and receivePhone != ''"
>
and
t.
receive_phone = #{receivePhone}
</if>
<if
test=
"applyTime != null "
>
and
t.
apply_time = #{applyTime}
</if>
<if
test=
"checkUser != null and checkUser != ''"
>
and
t.
check_user = #{checkUser}
</if>
<if
test=
"checkUserName != null and checkUserName != ''"
>
and
t.
check_user_name like concat('%', #{checkUserName}, '%')
</if>
<if
test=
"checkTime != null "
>
and
t.
check_time = #{checkTime}
</if>
<if
test=
"checkSuggestion != null and checkSuggestion != ''"
>
and
t.
check_suggestion = #{checkSuggestion}
</if>
<if
test=
"createdBy != null and createdBy != ''"
>
and
t.
CREATED_BY = #{createdBy}
</if>
<if
test=
"createdTime != null "
>
and
t.
CREATED_TIME = #{createdTime}
</if>
<if
test=
"updatedBy != null and updatedBy != ''"
>
and
t.
UPDATED_BY = #{updatedBy}
</if>
<if
test=
"updatedTime != null "
>
and
t.
UPDATED_TIME = #{updatedTime}
</if>
<if
test=
"installOrder != null and installOrder != ''"
>
and
t.
install_order like concat('%', #{installOrder}, '%')
</if>
<if
test=
"specification != null and specification != ''"
>
and
t.
specification = #{specification}
</if>
<if
test=
"logisticOrder != null and logisticOrder != ''"
>
and
t.
logistic_order = #{logisticOrder}
</if>
<if
test=
"applyInventory != null and applyInventory != ''"
>
and
t.
apply_inventory = #{applyInventory}
</if>
<if
test=
"applyOrder != null and applyOrder != ''"
>
and
t.
apply_order like concat('%', #{applyOrder}, '%')
</if>
</where>
</select>
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论