This commit is contained in:
xuyuncong 2025-12-01 12:56:44 +08:00
parent 030f465c2a
commit a74d7be510
2 changed files with 4 additions and 1 deletions

View File

@ -224,6 +224,9 @@ public class DlRepairTicketsServiceImpl extends ServiceImpl<DlRepairTicketsMappe
if (ObjectUtil.isEmpty(ticketsRespVO.getAdviserId())) { if (ObjectUtil.isEmpty(ticketsRespVO.getAdviserId())) {
throw exception0(500, "服务顾问为空"); throw exception0(500, "服务顾问为空");
} }
if(StringUtils.isEmpty(ticketsRespVO.getRepairType())) {
ticketsRespVO.setRepairType(RepairConstants.REPAIR_TYPE_A);
}
// ticketsRespVO.getItemList().forEach(item -> { // ticketsRespVO.getItemList().forEach(item -> {
// if (ObjectUtil.isEmpty(item.getRepairIds()) || ObjectUtil.isEmpty(item.getSaleId())) { // if (ObjectUtil.isEmpty(item.getRepairIds()) || ObjectUtil.isEmpty(item.getSaleId())) {
// String message = ""; // String message = "";

View File

@ -212,7 +212,7 @@
, drr.other_data AS settlementStr , drr.other_data AS settlementStr
</if> </if>
FROM dl_repair_tickets drt FROM dl_repair_tickets drt
INNER JOIN repair_order_info rorder ON rorder.goods_id = drt.id LEFT JOIN repair_order_info rorder ON rorder.goods_id = drt.id
<if test="(map.payStatus != null and map.payStatus != '' and (map.payStatus == '01' or map.payStatus == '04')) or (map.payStatuses != null and map.payStatuses.size() > 0 and (map.payStatuses.indexOf('01') >= 0 or map.payStatuses.indexOf('04') >= 0))"> <if test="(map.payStatus != null and map.payStatus != '' and (map.payStatus == '01' or map.payStatus == '04')) or (map.payStatuses != null and map.payStatuses.size() > 0 and (map.payStatuses.indexOf('01') >= 0 or map.payStatuses.indexOf('04') >= 0))">
LEFT JOIN ( LEFT JOIN (
SELECT ticket_id, other_data, SELECT ticket_id, other_data,