日志输出补充

This commit is contained in:
caojia
2026-09-28 14:12:14 +08:00
parent cc802d1292
commit be95794a1c
3 changed files with 142 additions and 15 deletions
@@ -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);
}
}