parent
53214cb462
commit
9a030aa028
@ -0,0 +1,18 @@
|
|||||||
|
package com.bsd.say.entities;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@TableName("source")
|
||||||
|
@Data
|
||||||
|
public class Source extends BaseEntity{
|
||||||
|
|
||||||
|
private String sourceName;
|
||||||
|
|
||||||
|
private String url;
|
||||||
|
|
||||||
|
private String qrCode;
|
||||||
|
|
||||||
|
private String postCode;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
package com.bsd.say.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.bsd.say.entities.Source;
|
||||||
|
import com.bsd.say.entities.Users;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
@Repository("sourceMapper")
|
||||||
|
public interface SourceMapper extends BaseMapper<Source> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
package com.bsd.say.service;
|
||||||
|
|
||||||
|
import com.bsd.say.entities.Source;
|
||||||
|
|
||||||
|
public interface SourceService extends BaseService<Source> {
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
package com.bsd.say.service.impl;
|
||||||
|
|
||||||
|
import com.bsd.say.entities.Source;
|
||||||
|
import com.bsd.say.mapper.SourceMapper;
|
||||||
|
import com.bsd.say.service.SourceService;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
|
@Service("sourceService")
|
||||||
|
@Transactional
|
||||||
|
public class SourceServiceImpl extends BaseServiceImpl<SourceMapper,Source> implements SourceService {
|
||||||
|
}
|
Loading…
Reference in New Issue