Commit 4b7f5f10 authored by zhangjianqian's avatar zhangjianqian

添加反馈时间

parent 90518a84
package com.zehong.web.controller.complainDeal; package com.zehong.web.controller.complainDeal;
import java.util.Date;
import java.util.List; import java.util.List;
import com.zehong.common.core.domain.model.LoginUser; import com.zehong.common.core.domain.model.LoginUser;
...@@ -98,6 +99,9 @@ public class TComplainDealController extends BaseController ...@@ -98,6 +99,9 @@ public class TComplainDealController extends BaseController
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody TComplainDeal tComplainDeal) public AjaxResult edit(@RequestBody TComplainDeal tComplainDeal)
{ {
if(tComplainDeal.getComplainStatus().equals("2")){
tComplainDeal.setDealTime(new Date());
}
return toAjax(tComplainDealService.updateTComplainDeal(tComplainDeal)); return toAjax(tComplainDealService.updateTComplainDeal(tComplainDeal));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment