Selaa lähdekoodia

修改问题不回显的值

wangxiaoming 7 vuotta sitten
vanhempi
commit
50f6c1d675

+ 1 - 5
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/CustomerServiceImpl.java

@@ -280,15 +280,13 @@ public class CustomerServiceImpl implements CustomerService {
         logger.info("-----------修改客诉-修改客诉基本信息---------------");
 
         QuestionDescribe questionDescribe = new QuestionDescribe();
-        questionDescribe.setCustomerId(customerInfo.getCustomerId());
+//        questionDescribe.setCustomerId(customerInfo.getCustomerId());
         questionDescribe.setDescribeId(customerInfo.getDescribeId());//客诉问题主键
         questionDescribe.setDescribeTitle(customerInfo.getDescribeTitle());  //客诉问题标题
         questionDescribe.setDescribeContent(customerInfo.getDescribeContent());  //客诉问题描述
         questionDescribe.setDescribeHandleDesc(customerInfo.getDescribeHandleDesc());   //处理描述
         questionDescribeMapper.updateByPrimaryKeySelective(questionDescribe);
-
         logger.info("-----------修改客诉-修改客诉问题---------------");
-
         if ("2".equals(customerInfo.getCustomerIsVisit())) {
             Visit visit = new Visit();
             visit.setCustomerId(customerInfo.getCustomerId());
@@ -305,7 +303,6 @@ public class CustomerServiceImpl implements CustomerService {
             }
             logger.info("-----------修改客诉-修改客诉回访信息---------------");
         }
-
         if (2 == customerInfo.getCustomerCounselType() &&
                 (customerInfo.getCustomerIsSolve() == 3 || customerInfo.getCustomerIsSolve() == 4 || customerInfo.getCustomerIsSolve() == 5 ||
                         customerInfo.getCustomerIsSolve() == 6 || customerInfo.getCustomerIsSolve() == 7)
@@ -313,7 +310,6 @@ public class CustomerServiceImpl implements CustomerService {
 
             salesOrder = salesOrderMapper.getSalesOrderById(salesOrder.getSalesId());
             logger.info("-----------修改客诉-查询订单--------------");
-
             CustomerCommon customerCommon = customerInfo.getCustomerCommon();
             customerCommon.setCustomerId(customerInfo.getCustomerId()); //设置客诉id
             customerCommon.setRelationBackStatus(1); //寄回状态 1:未寄回

+ 3 - 0
watero-rst-service/src/main/java/com/iamberry/rst/service/cm/mapper/questionDescribeMapper.xml

@@ -80,6 +80,9 @@
       <if test="describeHandleDesc != null" >
         describe_handle_desc = #{describeHandleDesc,jdbcType=INTEGER},
       </if>
+      <if test="describeTitle != null" >
+        describe_title = #{describeTitle},
+      </if>
     </set>
     where describe_id = #{describeId,jdbcType=INTEGER}
   </update>