|
@@ -8,6 +8,8 @@ import com.gyee.frame.mapper.auto.GyeeuserMapper;
|
|
|
import com.gyee.frame.model.auto.Gyeeuser;
|
|
|
import com.gyee.frame.model.auto.GyeeuserExample;
|
|
|
import com.gyee.frame.model.custom.Tablepar;
|
|
|
+import com.gyee.frame.model.enumeration.Messagetype;
|
|
|
+import com.gyee.frame.netty.websocket.util.SocketToolService;
|
|
|
import com.gyee.frame.util.SnowflakeIdWorker;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
@@ -23,7 +25,7 @@ import java.util.List;
|
|
|
* @date 2020-04-15 16:48:37
|
|
|
**/
|
|
|
@Service
|
|
|
-public class GyeeuserService implements BaseService<Gyeeuser, GyeeuserExample>{
|
|
|
+public class GyeeuserService extends SocketToolService implements BaseService<Gyeeuser, GyeeuserExample>{
|
|
|
@Resource
|
|
|
private GyeeuserMapper gyeeuserMapper;
|
|
|
|
|
@@ -155,4 +157,20 @@ public class GyeeuserService implements BaseService<Gyeeuser, GyeeuserExample>{
|
|
|
|
|
|
return list;
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ public void initialUserList() {
|
|
|
+
|
|
|
+ List<Gyeeuser> result=findUserlist();
|
|
|
+ if( !result.isEmpty())
|
|
|
+ {
|
|
|
+ for(Gyeeuser user:result)
|
|
|
+ {
|
|
|
+ user.setRemak1("0");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ this.pushToWeb("pageNumber_4","functionNumber_3","all",result, Messagetype.MESSAGE);
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
}
|