|
|
@@ -9,6 +9,7 @@ import me.zhengjie.application.bank.service.BankOrderService;
|
|
|
import me.zhengjie.base.ResponseDTO;
|
|
|
import me.zhengjie.base.ResultCode;
|
|
|
import me.zhengjie.base.util.DateUtils;
|
|
|
+import me.zhengjie.base.util.StatusEnum;
|
|
|
import me.zhengjie.domain.order.OrderConstant;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
@@ -106,7 +107,20 @@ public class BankOrderController extends BaseController {
|
|
|
String businessNo = jsonObj.getString("businessNo");
|
|
|
return bankOrderService.submitContractOrder(businessNo, getCurrentUser());
|
|
|
}
|
|
|
-
|
|
|
+ /**
|
|
|
+ * 删除订单
|
|
|
+ *
|
|
|
+ * @param json
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @RequestMapping("/delete")
|
|
|
+ public ResponseDTO<String> delete(@RequestBody String json) {
|
|
|
+ JSONObject jsonObj = JSONObject.parseObject(json);
|
|
|
+ String businessNo = jsonObj.getString("businessNo");
|
|
|
+ String status= StatusEnum.NotaryStatusEnum.DELETE.getStatus().toString();
|
|
|
+ bankOrderService.updateStatus(businessNo,status,null);
|
|
|
+ return ResponseDTO.success();
|
|
|
+ }
|
|
|
/**
|
|
|
* 银行合同OCR解析输入
|
|
|
*
|