anderx před 7 roky
rodič
revize
44a7dee4cf

+ 1 - 0
src/main/java/com/goafanti/common/mapper/JtBusinessCategoryMapper.xml

@@ -467,6 +467,7 @@ and layer=#{0}
     <if test="module !=null">
     and bc1.module =#{module,jdbcType=INTEGER}
     </if>
+    order by bc1.sort
    <if test="page_sql!=null">
 		${page_sql}
 	</if>

+ 0 - 1
src/main/java/com/goafanti/user/controller/UserRegisterController.java

@@ -134,7 +134,6 @@ public class UserRegisterController extends BaseController {
 		if (res.getError().isEmpty()) {
 			User us = new User();
 			us.setId(UUID.randomUUID().toString());
-			us.setUsername(user.getUsername().trim());
 			us.setMobile(user.getMobile().trim());
 			us.setPassword(user.getPassword());
 			Calendar now = Calendar.getInstance();