Compare commits

..

No commits in common. '5ebef0d882a45a02ce10c7fa9786c6143a97ce7c' and 'ad774415562612f43da6fdee9bec628d8ceaffad' have entirely different histories.

  1. 4
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/mapper/SysUserMapper.java
  2. 3
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/service/impl/SysUserServiceImpl.java

@ -187,9 +187,9 @@ public interface SysUserMapper extends BaseMapper<SysUser> {
@Select("SELECT za.contents FROM customercollectgoods AS crg LEFT JOIN goods_accessories AS ga ON crg.goods_id = ga.goods_id LEFT JOIN zy_accessories AS za ON ga.accessories_id = za.id where crg.id=#{id}") @Select("SELECT za.contents FROM customercollectgoods AS crg LEFT JOIN goods_accessories AS ga ON crg.goods_id = ga.goods_id LEFT JOIN zy_accessories AS za ON ga.accessories_id = za.id where crg.id=#{id}")
List<String> getscgoodfi(String id); List<String> getscgoodfi(String id);
@Select("select id from customer_receiving_address where user_id =#{needuname}") @Select("select id from customer_receiving_address where update_by =#{needuname}")
List<String> getuserdizhi(String needuname); List<String> getuserdizhi(String needuname);
@Select("select id from customer_invoice where user_id =#{needuname}") @Select("select id from customer_invoice where update_by =#{needuname}")
List<String> getuserfapiao(String needuname); List<String> getuserfapiao(String needuname);
} }

@ -577,14 +577,13 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
String needid = uids.get(n); String needid = uids.get(n);
SysUser sysUser = new SysUser(); SysUser sysUser = new SysUser();
sysUser = userMapper.getneeduser(needid); sysUser = userMapper.getneeduser(needid);
String needuname = sysUser.getId(); String needuname = sysUser.getUsername();
List<String> dizhi = userMapper.getuserdizhi(needuname); List<String> dizhi = userMapper.getuserdizhi(needuname);
List<String> fapiao = userMapper.getuserfapiao(needuname); List<String> fapiao = userMapper.getuserfapiao(needuname);
SysUserdfVO sdfvo = new SysUserdfVO(); SysUserdfVO sdfvo = new SysUserdfVO();
sdfvo.setSysUser(sysUser); sdfvo.setSysUser(sysUser);
sdfvo.setDizhi(dizhi); sdfvo.setDizhi(dizhi);
sdfvo.setFapiao(fapiao); sdfvo.setFapiao(fapiao);
System.out.println(sdfvo);
return sdfvo; return sdfvo;
} }

Loading…
Cancel
Save