新增子系统用户

beetlsql3-dev
chenyuan 11 months ago
parent 77a0dbdb0c
commit 3db1ec9223

@ -131,6 +131,9 @@ public class ApiStudentService {
if (allocation.getName().getText().equals("现金账户")) {
continue;
}
if(allocation.getApplicationId()==null||allocation.getApplicationId()==6){
continue;
}
Map<String, Object> map = new HashMap<>();
if (allocation.getName().getText().equals("银行账户")) {
map.put("name", allocation.getName().getText());

@ -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
*/

Loading…
Cancel
Save