From 4342203d21dfac86644c6ffc0c5b872e9e79ab68 Mon Sep 17 00:00:00 2001
From: 81041 <81041@192.168.10.27>
Date: 星期二, 06 十一月 2018 17:19:01 +0800
Subject: [PATCH] 问题反馈修改

---
 gx_tieta/src/com/fgkj/actions/Deverror_recordAction.java |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/gx_tieta/src/com/fgkj/actions/Deverror_recordAction.java b/gx_tieta/src/com/fgkj/actions/Deverror_recordAction.java
index ffc7b38..8f5373e 100644
--- a/gx_tieta/src/com/fgkj/actions/Deverror_recordAction.java
+++ b/gx_tieta/src/com/fgkj/actions/Deverror_recordAction.java
@@ -26,6 +26,7 @@
 		Deverror_record dev_record=getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, Deverror_record.class);
 		User_inf uinf=(User_inf) getUser();
 		dev_record.setUid(uinf.getUId());
+		dev_record.setUname(uinf.getUName());
 		if(file!=null&&file.size()>0){
 			for (int i=0;i<file.size();i++) {
 				switch (i) {
@@ -55,6 +56,29 @@
 	 //鐢ㄦ埛澶勭悊鐨勭粨鏋�
 	public String update(){
 		Deverror_record dev_record=getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, Deverror_record.class);
+		User_inf uinf=(User_inf) getUser();
+		dev_record.setSolve_uid(uinf.getUId());
+		dev_record.setSolve_uname(uinf.getUName());
+		if(file!=null&&file.size()>0){
+			for (int i=0;i<file.size();i++) {
+				switch (i) {
+				case 0:
+					dev_record.setSolve_picture_one(file.get(i));
+					break;
+				case 1:
+					dev_record.setSolve_picture_two(file.get(i));
+					break;
+				case 2:
+					dev_record.setSolve_picture_three(file.get(i));
+					break;
+				case 3:
+					dev_record.setSolve_picture_four(file.get(i));
+					break;
+				default:
+					break;
+				}
+			}
+		}
 		ServiceModel model=service.update(dev_record);
 		result=tojson(model);
 		return SUCCESS;

--
Gitblit v1.9.1