Selaa lähdekoodia

删除提示更新,更新数据变动

[user3] 4 vuotta sitten
vanhempi
commit
0fa6902381

+ 2 - 2
src/main/java/com/jeeplus/modules/sg/managementcenter/activiti/mapper/xml/UploadImagesMapper.xml

@@ -293,8 +293,8 @@
 
 	<update id="updateConUpload">
 		update xm_construction_upload
-		set update_by      = #{update_by},
-			update_date    = #{update_date},
+		set update_by      = #{updateBy.id},
+			update_date    = #{updateDate},
 			projectInfo    = #{projectInfo},
 			projectMoney   = #{projectMoney},
 			processingList = #{processingList},

+ 2 - 1
src/main/webapp/webpage/modules/sg/managementcenter/activiti/ruralFiles.js

@@ -10,7 +10,8 @@ $(document).ready(function() {
 		},
 		'click #del': function (e, value, row, index) {
 			jp.confirm('是否需要删除', function () {
-				jp.post("${ctx}/managementcenter/activiti/delConUpload" , {"id": row.id}, function () {
+				jp.post("${ctx}/managementcenter/activiti/delConUpload" , {"id": row.id},
+					function (data) {
 					if (data.success) {
 						jp.success(data.msg);
 						jp.close(index);