Commit a7a65551 by guojuxing

test

parent 49ad2530
...@@ -180,9 +180,10 @@ public class AccountGroupController { ...@@ -180,9 +180,10 @@ public class AccountGroupController {
* @return com.gic.commons.webapi.reponse.RestResponse
 * @return com.gic.commons.webapi.reponse.RestResponse


 */ 
 */
@RequestMapping("/add-group-member") @RequestMapping("/add-group-member")
public RestResponse addGroupMember(String memberArr, List<AccountGroupMemberDTO> test) { public RestResponse addGroupMember(List<AccountGroupMemberDTO> memberArr) {
LOGGER.info("添加组员数组参数test:{}", JSON.toJSONString(test)); LOGGER.info("添加组员数组参数test:{}", JSON.toJSONString(memberArr));
List<AccountGroupMemberDTO> list = JSON.parseArray(memberArr, AccountGroupMemberDTO.class); String memberArr1 = "";
List<AccountGroupMemberDTO> list = JSON.parseArray(memberArr1, AccountGroupMemberDTO.class);
if (CollectionUtils.isNotEmpty(list)) { if (CollectionUtils.isNotEmpty(list)) {
Integer enterpriseId = UserDetailUtils.getUserDetail().getEnterpriseId(); Integer enterpriseId = UserDetailUtils.getUserDetail().getEnterpriseId();
for (AccountGroupMemberDTO temp : list) { for (AccountGroupMemberDTO temp : list) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment