|
|
|
@ -24,6 +24,7 @@ import org.springframework.web.bind.annotation.*;
|
|
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
import static com.ibeetl.admin.core.util.user.CacheUserUtil.getUser;
|
|
|
|
@ -43,9 +44,11 @@ public class StudentAccountAssetAllocationController{
|
|
|
|
|
private static final String API = "/api/studentAccountAssetAllocation";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired private StudentAccountAssetAllocationService studentAccountAssetAllocationService;
|
|
|
|
|
@Autowired
|
|
|
|
|
private StudentAccountAssetAllocationService studentAccountAssetAllocationService;
|
|
|
|
|
|
|
|
|
|
@Autowired FileService fileService;
|
|
|
|
|
@Autowired
|
|
|
|
|
FileService fileService;
|
|
|
|
|
|
|
|
|
|
/* 前端接口 */
|
|
|
|
|
|
|
|
|
@ -113,13 +116,22 @@ public class StudentAccountAssetAllocationController{
|
|
|
|
|
return JsonResult.failMessage("请登录后再操作");
|
|
|
|
|
} else {
|
|
|
|
|
List<StudentAccountAssetAllocation> list = studentAccountAssetAllocationService.getValuesByQuery(param);
|
|
|
|
|
return JsonResult.success(list);
|
|
|
|
|
List<StudentAccountAssetAllocation> result = new ArrayList<>();
|
|
|
|
|
if (list != null && list.size() > 0) {
|
|
|
|
|
for (StudentAccountAssetAllocation item : list) {
|
|
|
|
|
if (item.getApplicationId() == null || item.getApplicationId() == 6)
|
|
|
|
|
continue;
|
|
|
|
|
result.add(item);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return JsonResult.success(result);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 需要对外暴露,不需要权限控制
|
|
|
|
|
* 通过token修改资金账户信息
|
|
|
|
|
*
|
|
|
|
|
* @param applicationToken 跳转时候,传递的token
|
|
|
|
|
* @param param 资金账户参数
|
|
|
|
|
* @return
|
|
|
|
@ -136,6 +148,7 @@ public class StudentAccountAssetAllocationController{
|
|
|
|
|
/**
|
|
|
|
|
* 需要对外暴露,不需要权限控制
|
|
|
|
|
* 通过token获取资金账户信息
|
|
|
|
|
*
|
|
|
|
|
* @param applicationToken 跳转时候,传递的token
|
|
|
|
|
* @param param 资金账户参数
|
|
|
|
|
* @return
|
|
|
|
@ -151,6 +164,7 @@ public class StudentAccountAssetAllocationController{
|
|
|
|
|
/**
|
|
|
|
|
* 需要对外暴露,不需要权限控制
|
|
|
|
|
* 通过token获取应用绑定的课程信息
|
|
|
|
|
*
|
|
|
|
|
* @param applicationToken 跳转时候,传递的token
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|