Commit d4b75b36 authored by fangxinjiang's avatar fangxinjiang

代码优化-fxj

parent 4d0d77cd
...@@ -105,7 +105,7 @@ public class MSetttleCustomerUserController { ...@@ -105,7 +105,7 @@ public class MSetttleCustomerUserController {
*/ */
@Inner @Inner
@PostMapping("/inner/getCustomerUserMap") @PostMapping("/inner/getCustomerUserMap")
public Map<String,String> getCustomerUserMap(@RequestBody List<Integer> userIdList) { public Map<String,String> getCustomerUserMap(@RequestBody List<String> userIdList) {
return mSetttleCustomerUserService.getCustomerUser(userIdList); return mSetttleCustomerUserService.getCustomerUser(userIdList);
} }
/** /**
......
...@@ -27,7 +27,7 @@ public interface MSetttleCustomerUserMapper extends BaseMapper<MSetttleCustomerU ...@@ -27,7 +27,7 @@ public interface MSetttleCustomerUserMapper extends BaseMapper<MSetttleCustomerU
IPage<MSetttleCustomerUser> getMSetttleCustomerUserPage(Page<MSetttleCustomerUser> page, @Param("mSetttleCustomerUser") MSetttleCustomerUser mSetttleCustomerUser); IPage<MSetttleCustomerUser> getMSetttleCustomerUserPage(Page<MSetttleCustomerUser> page, @Param("mSetttleCustomerUser") MSetttleCustomerUser mSetttleCustomerUser);
List<MSetttleCustomerUserVo> getCustomerUser(@Param("userIdList")List<Integer> userIdList); List<MSetttleCustomerUserVo> getCustomerUser(@Param("userIdList")List<String> userIdList);
Integer getCustomerCount(); Integer getCustomerCount();
......
...@@ -26,7 +26,7 @@ public interface MSetttleCustomerUserService extends IService<MSetttleCustomerUs ...@@ -26,7 +26,7 @@ public interface MSetttleCustomerUserService extends IService<MSetttleCustomerUs
IPage<MSetttleCustomerUser> getMSetttleCustomerUserPage(Page<MSetttleCustomerUser> page, MSetttleCustomerUser mSetttleCustomerUser); IPage<MSetttleCustomerUser> getMSetttleCustomerUserPage(Page<MSetttleCustomerUser> page, MSetttleCustomerUser mSetttleCustomerUser);
Map<String,String> getCustomerUser(List<Integer> userIdList); Map<String,String> getCustomerUser(List<String> userIdList);
Integer getCustomerCount(); Integer getCustomerCount();
......
...@@ -40,7 +40,7 @@ public class MSetttleCustomerUserServiceImpl extends ServiceImpl<MSetttleCustome ...@@ -40,7 +40,7 @@ public class MSetttleCustomerUserServiceImpl extends ServiceImpl<MSetttleCustome
} }
@Override @Override
public Map<String, String> getCustomerUser(List<Integer> userIdList) { public Map<String, String> getCustomerUser(List<String> userIdList) {
Map<String,String> map = new HashMap<>(); Map<String,String> map = new HashMap<>();
List<MSetttleCustomerUserVo> list = baseMapper.getCustomerUser(userIdList); List<MSetttleCustomerUserVo> list = baseMapper.getCustomerUser(userIdList);
if(Common.isNotNull(list)){ if(Common.isNotNull(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