日志输出补充
This commit is contained in:
+3
-3
@@ -8,7 +8,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.bms.ar.domain.ArBankAccount;
|
||||
import com.bms.ar.mapper.ArBankAccountMapper;
|
||||
import com.bms.ar.service.IArBillService;
|
||||
import com.bms.common.core.controller.BaseController;
|
||||
import com.bms.common.core.domain.AjaxResult;
|
||||
|
||||
@@ -20,14 +20,14 @@ import com.bms.common.core.domain.AjaxResult;
|
||||
public class ArBankAccountController extends BaseController {
|
||||
|
||||
@Autowired
|
||||
private ArBankAccountMapper arBankAccountMapper;
|
||||
private IArBillService billService;
|
||||
|
||||
/**
|
||||
* 启用账户列表;可按币种过滤,默认账户优先。
|
||||
*/
|
||||
@GetMapping("/options")
|
||||
public AjaxResult options(@RequestParam(value = "currency", required = false) String currency) {
|
||||
List<ArBankAccount> list = arBankAccountMapper.selectEnabledList(currency);
|
||||
List<ArBankAccount> list = billService.selectEnabledBankAccounts(currency);
|
||||
return AjaxResult.success(list);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user