|
@@ -66,6 +66,9 @@ import java.util.Map;
|
|
|
public class FsStoreOrderScrmController extends BaseController
|
|
public class FsStoreOrderScrmController extends BaseController
|
|
|
{
|
|
{
|
|
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ private IFsStoreOrderScrmCommentService fsStoreOrderScrmCommentService;
|
|
|
|
|
+
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private IFsUserService userService;
|
|
private IFsUserService userService;
|
|
|
@Autowired
|
|
@Autowired
|
|
@@ -117,6 +120,25 @@ public class FsStoreOrderScrmController extends BaseController
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private FsStoreVerifyCodeScrmMapper fsStoreVerifyCodeService;
|
|
private FsStoreVerifyCodeScrmMapper fsStoreVerifyCodeService;
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 获取订单评价详细信息
|
|
|
|
|
+ */
|
|
|
|
|
+ @GetMapping(value = "/comment/{commentId}")
|
|
|
|
|
+ public AjaxResult getCommentInfo(@PathVariable("commentId") Long commentId)
|
|
|
|
|
+ {
|
|
|
|
|
+ return AjaxResult.success(fsStoreOrderScrmCommentService.selectFsStoreOrderScrmCommentByCommentId(commentId));
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 修改订单评价
|
|
|
|
|
+ */
|
|
|
|
|
+ @Log(title = "订单评价", businessType = BusinessType.UPDATE)
|
|
|
|
|
+ @PutMapping("/comment")
|
|
|
|
|
+ public AjaxResult edit(@RequestBody FsStoreOrderScrmComment fsStoreOrderScrmComment)
|
|
|
|
|
+ {
|
|
|
|
|
+ return toAjax(fsStoreOrderScrmCommentService.updateFsStoreOrderScrmComment(fsStoreOrderScrmComment));
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 查询订单列表
|
|
* 查询订单列表
|
|
|
*/
|
|
*/
|
|
@@ -186,9 +208,6 @@ public class FsStoreOrderScrmController extends BaseController
|
|
|
return AjaxResult.success(message);
|
|
return AjaxResult.success(message);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @Autowired
|
|
|
|
|
- IFsStoreOrderScrmCommentService fsStoreOrderScrmCommentService;
|
|
|
|
|
-
|
|
|
|
|
/**
|
|
/**
|
|
|
* 获取订单详细信息
|
|
* 获取订单详细信息
|
|
|
*/
|
|
*/
|