Commit d4b75b36 authored by fangxinjiang's avatar fangxinjiang

代码优化-fxj

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