bug
This commit is contained in:
parent
55be54b4ad
commit
6b7658eb89
@ -50,7 +50,7 @@ public class AllOrderInfoController extends BaseController {
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/orderStatus")
|
||||
public ResponseObject editStatus(@RequestBody Map<String,String> map){
|
||||
public ResponseObject editStatus(@RequestBody Map<String,String> map) throws Exception {
|
||||
String orderNo = map.get("orderNo");
|
||||
String status = map.get("status");
|
||||
return getSuccessResult(allOrderInfoService.updateAllOrderInfoByOrderNo(orderNo,status));
|
||||
|
@ -52,7 +52,7 @@ public interface AllOrderInfoService {
|
||||
* @param orderNo
|
||||
* @return
|
||||
*/
|
||||
public int updateAllOrderInfoByOrderNo(String orderNo,String status);
|
||||
public int updateAllOrderInfoByOrderNo(String orderNo,String status) throws Exception;
|
||||
|
||||
|
||||
public int refund(Map<String,String> map);
|
||||
|
@ -104,7 +104,7 @@ public class AllOrderInfoServiceImpl extends ServiceImpl<AllOrderInfoMapper,AllO
|
||||
|
||||
|
||||
@Override
|
||||
public int updateAllOrderInfoByOrderNo(String orderNo, String status) {
|
||||
public int updateAllOrderInfoByOrderNo(String orderNo, String status) throws Exception {
|
||||
int row = 0;
|
||||
AllOrderInfo allOrderInfo = this.selectAllOrderInfoByOrderNo(orderNo);
|
||||
if (ObjectUtil.isNotEmpty(allOrderInfo)){
|
||||
|
Loading…
Reference in New Issue
Block a user