|
|
@@ -14,14 +14,7 @@ import com.fs.his.vo.FsStorePaymentVO;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.PutMapping;
|
|
|
-import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
-import org.springframework.web.bind.annotation.PathVariable;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
import com.fs.common.annotation.Log;
|
|
|
import com.fs.common.core.controller.BaseController;
|
|
|
import com.fs.common.core.domain.AjaxResult;
|
|
|
@@ -128,10 +121,11 @@ public class FsStorePaymentController extends BaseController
|
|
|
|
|
|
|
|
|
@GetMapping(value = "getStatus/{paymentId}")
|
|
|
- public AjaxResult getStatus(@PathVariable("paymentId") Long paymentId)
|
|
|
+ public AjaxResult getStatus(@PathVariable("paymentId") Long paymentId,
|
|
|
+ @RequestParam(value = "refundDate",required = false ) Date refundDate)
|
|
|
{
|
|
|
|
|
|
- return AjaxResult.success( fsStorePaymentService.updateFsStorePaymentByDecryptForm(paymentId));
|
|
|
+ return AjaxResult.success( fsStorePaymentService.updateFsStorePaymentByDecryptForm(paymentId,refundDate));
|
|
|
}
|
|
|
@PreAuthorize("@ss.hasPermi('his:storePayment:refund')")
|
|
|
@GetMapping(value = "refund/{paymentId}")
|