Bladeren bron

修改页面问题id赋值

wangxiaoming 7 jaren geleden
bovenliggende
commit
14258df5b5

+ 4 - 3
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/CustomerServiceImpl.java

@@ -462,6 +462,7 @@ public class CustomerServiceImpl implements CustomerService {
         if ("2".equals(customerInfo.getCustomerIsVisit())){
             visitMapper.deleteByPrimaryKey(customer.getCustomerId());
         }
+
         //查询旧客诉类型,判断是否修改了客诉类型
         Integer oldIsSolve = customerInfo.getCustomerIsSolve();// //处理结果: 1:已解决  2:未解决 3:换新  4:维修 5:补发 6:退货 7:无理由退货
         ClosedProdcue closedrecord = new ClosedProdcue();
@@ -498,7 +499,7 @@ public class CustomerServiceImpl implements CustomerService {
                     record.setRelationId(renewed.getRenewedId());
                     customerCommon.setSendProdcues(sendProdcueMapper.listSendProdcue(record));
                     customerService.setName(customerCommon);
-                    customerService.chargebackEfastOrder(customerCommon,salesOrder,8,2);
+                    //customerService.chargebackEfastOrder(customerCommon,salesOrder,8,2);
                 }
                 //删除寄出寄回产品
                 closedRecord.setRelationId(renewed.getRenewedId());
@@ -524,7 +525,7 @@ public class CustomerServiceImpl implements CustomerService {
                     record.setRelationId(repair.getRepairId());
                     customerCommon.setSendProdcues(sendProdcueMapper.listSendProdcue(record));
                     customerService.setName(customerCommon);
-                    customerService.chargebackEfastOrder(customerCommon, salesOrder, 8,2);    //从维修换货补发修改为已解决或未解决时,原订单生成退单
+                    //customerService.chargebackEfastOrder(customerCommon, salesOrder, 8,2);    //从维修换货补发修改为已解决或未解决时,原订单生成退单
                 }
                 //删除寄出寄回产品
                 closedRecord.setRelationId(repair.getRepairId());
@@ -550,7 +551,7 @@ public class CustomerServiceImpl implements CustomerService {
                     record.setRelationId(reissue.getReissueId());
                     customerCommon.setSendProdcues(sendProdcueMapper.listSendProdcue(record));
                     customerService.setName(customerCommon);
-                    customerService.chargebackEfastOrder(customerCommon, salesOrder, 8,2);    //从维修换货补发修改为已解决或未解决时,原订单生成退单
+                    //customerService.chargebackEfastOrder(customerCommon, salesOrder, 8,2);    //从维修换货补发修改为已解决或未解决时,原订单生成退单
                 }
                 //删除寄出产品
                 sendProdcue.setRelationId(reissue.getReissueId());

+ 1 - 1
watero-rst-web/src/main/webapp/WEB-INF/views/cm/customer/update_customer.ftl

@@ -204,7 +204,7 @@
             <div class="row cl">
                 <label class="form-label col-1 col-sm-1"><span class="c-red">*</span>问题回复:</label>
                 <div class="formControls col-5 col-sm-5">
-                    <input type="hidden" name="questionId" id="questionId" value="">
+                    <input type="hidden" name="questionId" id="questionId" value="${customerInfo.questionId!''}">
                     <script id="describeContentText" type="text/plain" style="width:983px;height:250px;"></script>
                     </script>
                     <input type="hidden" name="describeContent" id="describeContent" value="">