|
|
@@ -11,7 +11,6 @@ import com.goafanti.core.shiro.token.TokenManager;
|
|
|
import com.goafanti.expenseAccount.bo.*;
|
|
|
import com.goafanti.expenseAccount.service.ExpenseAccountService;
|
|
|
import com.goafanti.organization.bo.OrganizationListOut;
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.validation.BindingResult;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
@@ -19,6 +18,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
+import javax.annotation.Resource;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.Arrays;
|
|
|
@@ -28,7 +28,7 @@ import java.util.List;
|
|
|
@RequestMapping("/api/admin/expenseAccount")
|
|
|
public class ExpenseAccountController extends CertifyApiController {
|
|
|
|
|
|
- @Autowired
|
|
|
+ @Resource
|
|
|
private ExpenseAccountService expenseAccountService;
|
|
|
|
|
|
|