|
|
|
@@ -219,6 +219,15 @@ public class WxFinanceController extends BaseController { |
|
|
|
return new ResultData(tmap); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("receiveSetoffStatus") |
|
|
|
public ResultData receiveSetoffStatus() { |
|
|
|
Map<Integer,EnumFinanceReceiveStatus> tmap = new HashMap<Integer,EnumFinanceReceiveStatus>(); |
|
|
|
for (EnumFinanceReceiveStatus t : EnumFinanceReceiveStatus.getSetoff()) { |
|
|
|
tmap.put(t.getCode(), t); |
|
|
|
} |
|
|
|
return new ResultData(tmap); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("receiveTypes") |
|
|
|
public ResultData receiveTypes() { |
|
|
|
Map<Integer,EnumFinanceReceiveType> tmap = new HashMap<Integer,EnumFinanceReceiveType>(); |
|
|
|
@@ -282,4 +291,12 @@ public class WxFinanceController extends BaseController { |
|
|
|
return new ResultData(page); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation("过账") |
|
|
|
@PostMapping("receiveFinish") |
|
|
|
public ResultData receiveFinish(@RequestBody WxFinanceReceive record) { |
|
|
|
record.updateTenantInfo(getTenantInfo()); |
|
|
|
wxFinanceService.finishReceive(record, getUser()); |
|
|
|
return new ResultData(); |
|
|
|
} |
|
|
|
|
|
|
|
} |