推送相关
This commit is contained in:
+5
-1
@@ -1,5 +1,7 @@
|
||||
package com.fangjia.job.youfang.po;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.cxytiandi.jdbc.annotation.AutoId;
|
||||
import com.cxytiandi.jdbc.annotation.Field;
|
||||
import com.cxytiandi.jdbc.annotation.TableName;
|
||||
@@ -8,7 +10,9 @@ import lombok.Data;
|
||||
|
||||
@Data
|
||||
@TableName(value = "city_collect", author = "yinjihuan", desc = "城市收藏表")
|
||||
public class CityCollect {
|
||||
public class CityCollect implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 5064195667364691855L;
|
||||
|
||||
@AutoId
|
||||
@Field(value = "id", desc = "ID")
|
||||
|
||||
+4
-1
@@ -1,5 +1,6 @@
|
||||
package com.fangjia.job.youfang.po;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import com.cxytiandi.jdbc.annotation.AutoId;
|
||||
@@ -10,7 +11,9 @@ import lombok.Data;
|
||||
|
||||
@Data
|
||||
@TableName(value = "push_message", author = "yinjihuan", desc = "推送消息表")
|
||||
public class PushMessage {
|
||||
public class PushMessage implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -1101101524583976384L;
|
||||
|
||||
@AutoId
|
||||
@Field(value = "id", desc = "ID")
|
||||
|
||||
+4
-1
@@ -1,5 +1,6 @@
|
||||
package com.fangjia.job.youfang.po;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import com.cxytiandi.jdbc.annotation.AutoId;
|
||||
@@ -10,7 +11,9 @@ import lombok.Data;
|
||||
|
||||
@Data
|
||||
@TableName(value = "push_record_message", author = "yinjihuan", desc = "推送消息记录表")
|
||||
public class PushRecordMessage {
|
||||
public class PushRecordMessage implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 6736005034016737661L;
|
||||
|
||||
@AutoId
|
||||
@Field(value = "id", desc = "ID")
|
||||
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package com.fangjia.job.youfang.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.fangjia.job.youfang.po.CityCollect;
|
||||
|
||||
public interface CityCollectService {
|
||||
|
||||
List<CityCollect> findAll();
|
||||
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
package com.fangjia.job.youfang.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import com.cxytiandi.jdbc.EntityService;
|
||||
import com.fangjia.job.youfang.po.AdVisitLog;
|
||||
import com.fangjia.job.youfang.po.CityCollect;
|
||||
|
||||
@Service
|
||||
public class CityCollectServiceImpl extends EntityService<AdVisitLog> implements CityCollectService {
|
||||
|
||||
@Override
|
||||
public List<CityCollect> findAll() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
package com.fangjia.job.youfang.service;
|
||||
|
||||
import com.fangjia.job.youfang.po.PushMessage;
|
||||
|
||||
public interface PushMessageService {
|
||||
|
||||
void insert(PushMessage message);
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
package com.fangjia.job.youfang.service;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import com.cxytiandi.jdbc.EntityService;
|
||||
import com.fangjia.job.youfang.po.PushMessage;
|
||||
|
||||
@Service
|
||||
public class PushMessageServiceImpl extends EntityService<PushMessage> implements PushMessageService {
|
||||
|
||||
@Override
|
||||
public void insert(PushMessage message) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
package com.fangjia.job.youfang.service;
|
||||
|
||||
import com.fangjia.job.youfang.po.PushRecordMessage;
|
||||
|
||||
public interface PushRecordMessageService {
|
||||
|
||||
PushRecordMessage findByUidAndMid(long uid,long mid);
|
||||
|
||||
void insert(PushRecordMessage message);
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
package com.fangjia.job.youfang.service;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import com.cxytiandi.jdbc.EntityService;
|
||||
import com.fangjia.job.youfang.po.AdVisitLog;
|
||||
import com.fangjia.job.youfang.po.PushRecordMessage;
|
||||
|
||||
@Service
|
||||
public class PushRecordMessageServiceImpl extends EntityService<PushRecordMessage> implements PushRecordMessageService {
|
||||
|
||||
@Override
|
||||
public PushRecordMessage findByUidAndMid(long uid, long mid) {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void insert(PushRecordMessage message) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user