Forráskód Böngészése

我的客户列表新增默认值

anderx 1 éve%!(EXTRA string=óta)
szülő
commit
2ac3a267a0

+ 5 - 1
src/main/java/com/goafanti/customer/service/impl/CustomerServiceImpl.java

@@ -3181,7 +3181,11 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
 	@Override
 	public Pagination<SelectMyUserOut> selectMyUser(SelectMyUserBo in) {
 		Map<String, Object> params = new HashMap<>();
-		if (in.getType() != null) params.put("type", in.getType());
+		if (in.getType() != null){
+			params.put("type", in.getType());
+		}else {
+			params.put("type", 0);
+		}
 		if (in.getLevel() !=null) params.put("level", in.getLevel());
 		if (in.getShareType() != null) params.put("shareType", in.getShareType());
 		if (in.getName() != null) params.put("name", in.getName());