| @ -1,17 +0,0 @@ | |||||
| package org.jeecg.modules.demo.appuser.mapper; | |||||
| import java.util.List; | |||||
| import org.apache.ibatis.annotations.Param; | |||||
| import org.jeecg.modules.demo.appuser.entity.AppUser; | |||||
| import com.baomidou.mybatisplus.core.mapper.BaseMapper; | |||||
| /** | |||||
| * @Description: 应用用户表 | |||||
| * @Author: jeecg-boot | |||||
| * @Date: 2025-02-16 | |||||
| * @Version: V1.0 | |||||
| */ | |||||
| public interface AppUserMapper extends BaseMapper<AppUser> { | |||||
| } | |||||
| @ -1,5 +0,0 @@ | |||||
| <?xml version="1.0" encoding="UTF-8"?> | |||||
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | |||||
| <mapper namespace="org.jeecg.modules.demo.appuser.mapper.AppUserMapper"> | |||||
| </mapper> | |||||
| @ -1,14 +0,0 @@ | |||||
| package org.jeecg.modules.demo.appuser.service; | |||||
| import org.jeecg.modules.demo.appuser.entity.AppUser; | |||||
| import com.baomidou.mybatisplus.extension.service.IService; | |||||
| /** | |||||
| * @Description: 应用用户表 | |||||
| * @Author: jeecg-boot | |||||
| * @Date: 2025-02-16 | |||||
| * @Version: V1.0 | |||||
| */ | |||||
| public interface IAppUserService extends IService<AppUser> { | |||||
| } | |||||
| @ -1,19 +0,0 @@ | |||||
| package org.jeecg.modules.demo.appuser.service.impl; | |||||
| import org.jeecg.modules.demo.appuser.entity.AppUser; | |||||
| import org.jeecg.modules.demo.appuser.mapper.AppUserMapper; | |||||
| import org.jeecg.modules.demo.appuser.service.IAppUserService; | |||||
| import org.springframework.stereotype.Service; | |||||
| import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | |||||
| /** | |||||
| * @Description: 应用用户表 | |||||
| * @Author: jeecg-boot | |||||
| * @Date: 2025-02-16 | |||||
| * @Version: V1.0 | |||||
| */ | |||||
| @Service | |||||
| public class AppUserServiceImpl extends ServiceImpl<AppUserMapper, AppUser> implements IAppUserService { | |||||
| } | |||||
| @ -1,15 +1,10 @@ | |||||
| package org.jeecg.modules.demo.appbanner.entity; | |||||
| package org.jeecg.modules.sysMiniapp.appbanner.entity; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| import java.io.UnsupportedEncodingException; | |||||
| import java.util.Date; | |||||
| import java.math.BigDecimal; | |||||
| import com.baomidou.mybatisplus.annotation.IdType; | import com.baomidou.mybatisplus.annotation.IdType; | ||||
| import com.baomidou.mybatisplus.annotation.TableId; | import com.baomidou.mybatisplus.annotation.TableId; | ||||
| import com.baomidou.mybatisplus.annotation.TableName; | import com.baomidou.mybatisplus.annotation.TableName; | ||||
| import com.baomidou.mybatisplus.annotation.TableLogic; | |||||
| import org.jeecg.common.constant.ProvinceCityArea; | |||||
| import org.jeecg.common.util.SpringContextUtils; | |||||
| import lombok.Data; | import lombok.Data; | ||||
| import com.fasterxml.jackson.annotation.JsonFormat; | import com.fasterxml.jackson.annotation.JsonFormat; | ||||
| import org.springframework.format.annotation.DateTimeFormat; | import org.springframework.format.annotation.DateTimeFormat; | ||||
| @ -1,9 +1,6 @@ | |||||
| package org.jeecg.modules.demo.appbanner.mapper; | |||||
| package org.jeecg.modules.sysMiniapp.appbanner.mapper; | |||||
| import java.util.List; | |||||
| import org.apache.ibatis.annotations.Param; | |||||
| import org.jeecg.modules.demo.appbanner.entity.AppBanner; | |||||
| import org.jeecg.modules.sysMiniapp.appbanner.entity.AppBanner; | |||||
| import com.baomidou.mybatisplus.core.mapper.BaseMapper; | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | ||||
| /** | /** | ||||
| @ -1,5 +1,5 @@ | |||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||||
| <mapper namespace="org.jeecg.modules.demo.appbanner.mapper.AppBannerMapper"> | |||||
| <mapper namespace="org.jeecg.modules.sysMiniapp.appbanner.mapper.AppBannerMapper"> | |||||
| </mapper> | |||||
| </mapper> | |||||
| @ -1,6 +1,6 @@ | |||||
| package org.jeecg.modules.demo.appbanner.service; | |||||
| package org.jeecg.modules.sysMiniapp.appbanner.service; | |||||
| import org.jeecg.modules.demo.appbanner.entity.AppBanner; | |||||
| import org.jeecg.modules.sysMiniapp.appbanner.entity.AppBanner; | |||||
| import com.baomidou.mybatisplus.extension.service.IService; | import com.baomidou.mybatisplus.extension.service.IService; | ||||
| /** | /** | ||||
| @ -1,8 +1,8 @@ | |||||
| package org.jeecg.modules.demo.appbanner.service.impl; | |||||
| package org.jeecg.modules.sysMiniapp.appbanner.service.impl; | |||||
| import org.jeecg.modules.demo.appbanner.entity.AppBanner; | |||||
| import org.jeecg.modules.demo.appbanner.mapper.AppBannerMapper; | |||||
| import org.jeecg.modules.demo.appbanner.service.IAppBannerService; | |||||
| import org.jeecg.modules.sysMiniapp.appbanner.entity.AppBanner; | |||||
| import org.jeecg.modules.sysMiniapp.appbanner.mapper.AppBannerMapper; | |||||
| import org.jeecg.modules.sysMiniapp.appbanner.service.IAppBannerService; | |||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | ||||
| @ -1,15 +1,10 @@ | |||||
| package org.jeecg.modules.demo.appuser.entity; | |||||
| package org.jeecg.modules.sysMiniapp.appuser.entity; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| import java.io.UnsupportedEncodingException; | |||||
| import java.util.Date; | |||||
| import java.math.BigDecimal; | |||||
| import com.baomidou.mybatisplus.annotation.IdType; | import com.baomidou.mybatisplus.annotation.IdType; | ||||
| import com.baomidou.mybatisplus.annotation.TableId; | import com.baomidou.mybatisplus.annotation.TableId; | ||||
| import com.baomidou.mybatisplus.annotation.TableName; | import com.baomidou.mybatisplus.annotation.TableName; | ||||
| import com.baomidou.mybatisplus.annotation.TableLogic; | |||||
| import org.jeecg.common.constant.ProvinceCityArea; | |||||
| import org.jeecg.common.util.SpringContextUtils; | |||||
| import lombok.Data; | import lombok.Data; | ||||
| import com.fasterxml.jackson.annotation.JsonFormat; | import com.fasterxml.jackson.annotation.JsonFormat; | ||||
| import org.springframework.format.annotation.DateTimeFormat; | import org.springframework.format.annotation.DateTimeFormat; | ||||
| @ -0,0 +1,22 @@ | |||||
| package org.jeecg.modules.sysMiniapp.appuser.mapper; | |||||
| import org.apache.ibatis.annotations.Param; | |||||
| import org.jeecg.modules.sysMiniapp.appuser.entity.AppUser; | |||||
| import com.baomidou.mybatisplus.core.mapper.BaseMapper; | |||||
| /** | |||||
| * @Description: 应用用户表 | |||||
| * @Author: jeecg-boot | |||||
| * @Date: 2025-02-16 | |||||
| * @Version: V1.0 | |||||
| */ | |||||
| public interface AppUserMapper extends BaseMapper<AppUser> { | |||||
| /** | |||||
| * 通过用户账号查询用户信息 | |||||
| * @param username | |||||
| * @return | |||||
| */ | |||||
| public AppUser getUserByName(@Param("username") String username); | |||||
| } | |||||
| @ -0,0 +1,8 @@ | |||||
| <?xml version="1.0" encoding="UTF-8"?> | |||||
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | |||||
| <mapper namespace="org.jeecg.modules.sysMiniapp.appuser.mapper.AppUserMapper"> | |||||
| <!-- 根据用户名查询 --> | |||||
| <select id="getUserByName" resultType="org.jeecg.modules.sysMiniapp.appuser.entity.AppUser"> | |||||
| select * from app_user where nick_name = #{username} | |||||
| </select> | |||||
| </mapper> | |||||
| @ -0,0 +1,24 @@ | |||||
| package org.jeecg.modules.sysMiniapp.appuser.service; | |||||
| import org.jeecg.common.api.vo.Result; | |||||
| import org.jeecg.modules.sysMiniapp.appuser.entity.AppUser; | |||||
| import com.baomidou.mybatisplus.extension.service.IService; | |||||
| /** | |||||
| * @Description: 应用用户表 | |||||
| * @Author: jeecg-boot | |||||
| * @Date: 2025-02-16 | |||||
| * @Version: V1.0 | |||||
| */ | |||||
| public interface IAppUserService extends IService<AppUser> { | |||||
| /** | |||||
| * 通过用户名查询用户信息 | |||||
| * @param userName | |||||
| * @return | |||||
| */ | |||||
| AppUser getUserByName(String userName); | |||||
| Result<?> checkUserIsEffective(AppUser appUser); | |||||
| } | |||||
| @ -0,0 +1,54 @@ | |||||
| package org.jeecg.modules.sysMiniapp.appuser.service.impl; | |||||
| import org.jeecg.common.api.vo.Result; | |||||
| import org.jeecg.common.constant.CacheConstant; | |||||
| import org.jeecg.common.constant.CommonConstant; | |||||
| import org.jeecg.modules.base.service.BaseCommonService; | |||||
| import org.jeecg.modules.sysMiniapp.appuser.entity.AppUser; | |||||
| import org.jeecg.modules.sysMiniapp.appuser.mapper.AppUserMapper; | |||||
| import org.jeecg.modules.sysMiniapp.appuser.service.IAppUserService; | |||||
| import org.springframework.beans.factory.annotation.Autowired; | |||||
| import org.springframework.cache.annotation.Cacheable; | |||||
| import org.springframework.stereotype.Service; | |||||
| import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | |||||
| /** | |||||
| * @Description: 应用用户表 | |||||
| * @Author: jeecg-boot | |||||
| * @Date: 2025-02-16 | |||||
| * @Version: V1.0 | |||||
| */ | |||||
| @Service | |||||
| public class AppUserServiceImpl extends ServiceImpl<AppUserMapper, AppUser> implements IAppUserService { | |||||
| @Autowired | |||||
| private AppUserMapper appUserMapper; | |||||
| @Autowired | |||||
| private BaseCommonService baseCommonService; | |||||
| @Override | |||||
| @Cacheable(cacheNames= CacheConstant.SYS_USERS_CACHE, key="#userName") | |||||
| public AppUser getUserByName(String userName) { | |||||
| return appUserMapper.getUserByName(userName); | |||||
| } | |||||
| @Override | |||||
| public Result<?> checkUserIsEffective(AppUser appUser) { | |||||
| Result<?> result = new Result<Object>(); | |||||
| //情况1:根据用户信息查询,该用户不存在 | |||||
| if (appUser == null) { | |||||
| result.error500("用户名或密码错误,请检查后重试!"); | |||||
| baseCommonService.addLog("用户登录失败,用户不存在!【小程序端】", CommonConstant.LOG_TYPE_1, null); | |||||
| return result; | |||||
| } | |||||
| //情况3:根据用户信息查询,该用户已冻结 | |||||
| if (CommonConstant.STATUS_0.equals(appUser.getStatus())) { | |||||
| baseCommonService.addLog("用户登录失败,用户名:" + appUser.getNickName() + "已冻结!【小程序端】", CommonConstant.LOG_TYPE_1, null); | |||||
| result.error500("该用户已冻结,请联系管理员解冻"); | |||||
| return result; | |||||
| } | |||||
| return result; | |||||
| } | |||||
| } | |||||
| @ -1,15 +1,10 @@ | |||||
| package org.jeecg.modules.demo.notice.entity; | |||||
| package org.jeecg.modules.sysMiniapp.notice.entity; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| import java.io.UnsupportedEncodingException; | |||||
| import java.util.Date; | |||||
| import java.math.BigDecimal; | |||||
| import com.baomidou.mybatisplus.annotation.IdType; | import com.baomidou.mybatisplus.annotation.IdType; | ||||
| import com.baomidou.mybatisplus.annotation.TableId; | import com.baomidou.mybatisplus.annotation.TableId; | ||||
| import com.baomidou.mybatisplus.annotation.TableName; | import com.baomidou.mybatisplus.annotation.TableName; | ||||
| import com.baomidou.mybatisplus.annotation.TableLogic; | |||||
| import org.jeecg.common.constant.ProvinceCityArea; | |||||
| import org.jeecg.common.util.SpringContextUtils; | |||||
| import lombok.Data; | import lombok.Data; | ||||
| import com.fasterxml.jackson.annotation.JsonFormat; | import com.fasterxml.jackson.annotation.JsonFormat; | ||||
| import org.springframework.format.annotation.DateTimeFormat; | import org.springframework.format.annotation.DateTimeFormat; | ||||
| @ -1,9 +1,6 @@ | |||||
| package org.jeecg.modules.demo.notice.mapper; | |||||
| package org.jeecg.modules.sysMiniapp.notice.mapper; | |||||
| import java.util.List; | |||||
| import org.apache.ibatis.annotations.Param; | |||||
| import org.jeecg.modules.demo.notice.entity.AppNotice; | |||||
| import org.jeecg.modules.sysMiniapp.notice.entity.AppNotice; | |||||
| import com.baomidou.mybatisplus.core.mapper.BaseMapper; | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | ||||
| /** | /** | ||||
| @ -1,5 +1,5 @@ | |||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||||
| <mapper namespace="org.jeecg.modules.demo.notice.mapper.AppNoticeMapper"> | |||||
| <mapper namespace="org.jeecg.modules.sysMiniapp.notice.mapper.AppNoticeMapper"> | |||||
| </mapper> | |||||
| </mapper> | |||||
| @ -1,6 +1,6 @@ | |||||
| package org.jeecg.modules.demo.notice.service; | |||||
| package org.jeecg.modules.sysMiniapp.notice.service; | |||||
| import org.jeecg.modules.demo.notice.entity.AppNotice; | |||||
| import org.jeecg.modules.sysMiniapp.notice.entity.AppNotice; | |||||
| import com.baomidou.mybatisplus.extension.service.IService; | import com.baomidou.mybatisplus.extension.service.IService; | ||||
| /** | /** | ||||
| @ -1,8 +1,8 @@ | |||||
| package org.jeecg.modules.demo.notice.service.impl; | |||||
| package org.jeecg.modules.sysMiniapp.notice.service.impl; | |||||
| import org.jeecg.modules.demo.notice.entity.AppNotice; | |||||
| import org.jeecg.modules.demo.notice.mapper.AppNoticeMapper; | |||||
| import org.jeecg.modules.demo.notice.service.IAppNoticeService; | |||||
| import org.jeecg.modules.sysMiniapp.notice.entity.AppNotice; | |||||
| import org.jeecg.modules.sysMiniapp.notice.mapper.AppNoticeMapper; | |||||
| import org.jeecg.modules.sysMiniapp.notice.service.IAppNoticeService; | |||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | ||||
| @ -1,20 +1,14 @@ | |||||
| package org.jeecg.modules.demo.product.entity; | |||||
| package org.jeecg.modules.sysMiniapp.product.entity; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| import java.io.UnsupportedEncodingException; | |||||
| import java.util.Date; | |||||
| import java.math.BigDecimal; | |||||
| import com.baomidou.mybatisplus.annotation.IdType; | import com.baomidou.mybatisplus.annotation.IdType; | ||||
| import com.baomidou.mybatisplus.annotation.TableId; | import com.baomidou.mybatisplus.annotation.TableId; | ||||
| import com.baomidou.mybatisplus.annotation.TableName; | import com.baomidou.mybatisplus.annotation.TableName; | ||||
| import com.baomidou.mybatisplus.annotation.TableLogic; | |||||
| import org.jeecg.common.constant.ProvinceCityArea; | |||||
| import org.jeecg.common.util.SpringContextUtils; | |||||
| import lombok.Data; | import lombok.Data; | ||||
| import com.fasterxml.jackson.annotation.JsonFormat; | import com.fasterxml.jackson.annotation.JsonFormat; | ||||
| import org.springframework.format.annotation.DateTimeFormat; | import org.springframework.format.annotation.DateTimeFormat; | ||||
| import org.jeecgframework.poi.excel.annotation.Excel; | import org.jeecgframework.poi.excel.annotation.Excel; | ||||
| import org.jeecg.common.aspect.annotation.Dict; | |||||
| import io.swagger.annotations.ApiModel; | import io.swagger.annotations.ApiModel; | ||||
| import io.swagger.annotations.ApiModelProperty; | import io.swagger.annotations.ApiModelProperty; | ||||
| import lombok.EqualsAndHashCode; | import lombok.EqualsAndHashCode; | ||||
| @ -1,9 +1,6 @@ | |||||
| package org.jeecg.modules.demo.product.mapper; | |||||
| package org.jeecg.modules.sysMiniapp.product.mapper; | |||||
| import java.util.List; | |||||
| import org.apache.ibatis.annotations.Param; | |||||
| import org.jeecg.modules.demo.product.entity.AppProduct; | |||||
| import org.jeecg.modules.sysMiniapp.product.entity.AppProduct; | |||||
| import com.baomidou.mybatisplus.core.mapper.BaseMapper; | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | ||||
| /** | /** | ||||
| @ -1,5 +1,5 @@ | |||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||||
| <mapper namespace="org.jeecg.modules.demo.product.mapper.AppProductMapper"> | |||||
| <mapper namespace="org.jeecg.modules.sysMiniapp.product.mapper.AppProductMapper"> | |||||
| </mapper> | |||||
| </mapper> | |||||
| @ -1,6 +1,6 @@ | |||||
| package org.jeecg.modules.demo.product.service; | |||||
| package org.jeecg.modules.sysMiniapp.product.service; | |||||
| import org.jeecg.modules.demo.product.entity.AppProduct; | |||||
| import org.jeecg.modules.sysMiniapp.product.entity.AppProduct; | |||||
| import com.baomidou.mybatisplus.extension.service.IService; | import com.baomidou.mybatisplus.extension.service.IService; | ||||
| /** | /** | ||||
| @ -1,8 +1,8 @@ | |||||
| package org.jeecg.modules.demo.product.service.impl; | |||||
| package org.jeecg.modules.sysMiniapp.product.service.impl; | |||||
| import org.jeecg.modules.demo.product.entity.AppProduct; | |||||
| import org.jeecg.modules.demo.product.mapper.AppProductMapper; | |||||
| import org.jeecg.modules.demo.product.service.IAppProductService; | |||||
| import org.jeecg.modules.sysMiniapp.product.entity.AppProduct; | |||||
| import org.jeecg.modules.sysMiniapp.product.mapper.AppProductMapper; | |||||
| import org.jeecg.modules.sysMiniapp.product.service.IAppProductService; | |||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | ||||
| @ -1,20 +1,14 @@ | |||||
| package org.jeecg.modules.demo.productCategory.entity; | |||||
| package org.jeecg.modules.sysMiniapp.productCategory.entity; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| import java.io.UnsupportedEncodingException; | |||||
| import java.util.Date; | |||||
| import java.math.BigDecimal; | |||||
| import com.baomidou.mybatisplus.annotation.IdType; | import com.baomidou.mybatisplus.annotation.IdType; | ||||
| import com.baomidou.mybatisplus.annotation.TableId; | import com.baomidou.mybatisplus.annotation.TableId; | ||||
| import com.baomidou.mybatisplus.annotation.TableName; | import com.baomidou.mybatisplus.annotation.TableName; | ||||
| import com.baomidou.mybatisplus.annotation.TableLogic; | |||||
| import org.jeecg.common.constant.ProvinceCityArea; | |||||
| import org.jeecg.common.util.SpringContextUtils; | |||||
| import lombok.Data; | import lombok.Data; | ||||
| import com.fasterxml.jackson.annotation.JsonFormat; | import com.fasterxml.jackson.annotation.JsonFormat; | ||||
| import org.springframework.format.annotation.DateTimeFormat; | import org.springframework.format.annotation.DateTimeFormat; | ||||
| import org.jeecgframework.poi.excel.annotation.Excel; | import org.jeecgframework.poi.excel.annotation.Excel; | ||||
| import org.jeecg.common.aspect.annotation.Dict; | |||||
| import io.swagger.annotations.ApiModel; | import io.swagger.annotations.ApiModel; | ||||
| import io.swagger.annotations.ApiModelProperty; | import io.swagger.annotations.ApiModelProperty; | ||||
| import lombok.EqualsAndHashCode; | import lombok.EqualsAndHashCode; | ||||
| @ -1,9 +1,6 @@ | |||||
| package org.jeecg.modules.demo.productCategory.mapper; | |||||
| package org.jeecg.modules.sysMiniapp.productCategory.mapper; | |||||
| import java.util.List; | |||||
| import org.apache.ibatis.annotations.Param; | |||||
| import org.jeecg.modules.demo.productCategory.entity.AppCategory; | |||||
| import org.jeecg.modules.sysMiniapp.productCategory.entity.AppCategory; | |||||
| import com.baomidou.mybatisplus.core.mapper.BaseMapper; | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | ||||
| /** | /** | ||||
| @ -1,5 +1,5 @@ | |||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||||
| <mapper namespace="org.jeecg.modules.demo.productCategory.mapper.AppCategoryMapper"> | |||||
| <mapper namespace="org.jeecg.modules.sysMiniapp.productCategory.mapper.AppCategoryMapper"> | |||||
| </mapper> | |||||
| </mapper> | |||||
| @ -1,6 +1,6 @@ | |||||
| package org.jeecg.modules.demo.productCategory.service; | |||||
| package org.jeecg.modules.sysMiniapp.productCategory.service; | |||||
| import org.jeecg.modules.demo.productCategory.entity.AppCategory; | |||||
| import org.jeecg.modules.sysMiniapp.productCategory.entity.AppCategory; | |||||
| import com.baomidou.mybatisplus.extension.service.IService; | import com.baomidou.mybatisplus.extension.service.IService; | ||||
| /** | /** | ||||
| @ -1,8 +1,8 @@ | |||||
| package org.jeecg.modules.demo.productCategory.service.impl; | |||||
| package org.jeecg.modules.sysMiniapp.productCategory.service.impl; | |||||
| import org.jeecg.modules.demo.productCategory.entity.AppCategory; | |||||
| import org.jeecg.modules.demo.productCategory.mapper.AppCategoryMapper; | |||||
| import org.jeecg.modules.demo.productCategory.service.IAppCategoryService; | |||||
| import org.jeecg.modules.sysMiniapp.productCategory.entity.AppCategory; | |||||
| import org.jeecg.modules.sysMiniapp.productCategory.mapper.AppCategoryMapper; | |||||
| import org.jeecg.modules.sysMiniapp.productCategory.service.IAppCategoryService; | |||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | ||||
| @ -1,20 +1,14 @@ | |||||
| package org.jeecg.modules.demo.productCategoryJoin.entity; | |||||
| package org.jeecg.modules.sysMiniapp.productCategoryJoin.entity; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| import java.io.UnsupportedEncodingException; | |||||
| import java.util.Date; | |||||
| import java.math.BigDecimal; | |||||
| import com.baomidou.mybatisplus.annotation.IdType; | import com.baomidou.mybatisplus.annotation.IdType; | ||||
| import com.baomidou.mybatisplus.annotation.TableId; | import com.baomidou.mybatisplus.annotation.TableId; | ||||
| import com.baomidou.mybatisplus.annotation.TableName; | import com.baomidou.mybatisplus.annotation.TableName; | ||||
| import com.baomidou.mybatisplus.annotation.TableLogic; | |||||
| import org.jeecg.common.constant.ProvinceCityArea; | |||||
| import org.jeecg.common.util.SpringContextUtils; | |||||
| import lombok.Data; | import lombok.Data; | ||||
| import com.fasterxml.jackson.annotation.JsonFormat; | import com.fasterxml.jackson.annotation.JsonFormat; | ||||
| import org.springframework.format.annotation.DateTimeFormat; | import org.springframework.format.annotation.DateTimeFormat; | ||||
| import org.jeecgframework.poi.excel.annotation.Excel; | import org.jeecgframework.poi.excel.annotation.Excel; | ||||
| import org.jeecg.common.aspect.annotation.Dict; | |||||
| import io.swagger.annotations.ApiModel; | import io.swagger.annotations.ApiModel; | ||||
| import io.swagger.annotations.ApiModelProperty; | import io.swagger.annotations.ApiModelProperty; | ||||
| import lombok.EqualsAndHashCode; | import lombok.EqualsAndHashCode; | ||||
| @ -1,9 +1,6 @@ | |||||
| package org.jeecg.modules.demo.productCategoryJoin.mapper; | |||||
| package org.jeecg.modules.sysMiniapp.productCategoryJoin.mapper; | |||||
| import java.util.List; | |||||
| import org.apache.ibatis.annotations.Param; | |||||
| import org.jeecg.modules.demo.productCategoryJoin.entity.AppProductCategoryJoin; | |||||
| import org.jeecg.modules.sysMiniapp.productCategoryJoin.entity.AppProductCategoryJoin; | |||||
| import com.baomidou.mybatisplus.core.mapper.BaseMapper; | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | ||||
| /** | /** | ||||
| @ -1,5 +1,5 @@ | |||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||||
| <mapper namespace="org.jeecg.modules.demo.productCategoryJoin.mapper.AppProductCategoryJoinMapper"> | |||||
| <mapper namespace="org.jeecg.modules.sysMiniapp.productCategoryJoin.mapper.AppProductCategoryJoinMapper"> | |||||
| </mapper> | |||||
| </mapper> | |||||
| @ -1,6 +1,6 @@ | |||||
| package org.jeecg.modules.demo.productCategoryJoin.service; | |||||
| package org.jeecg.modules.sysMiniapp.productCategoryJoin.service; | |||||
| import org.jeecg.modules.demo.productCategoryJoin.entity.AppProductCategoryJoin; | |||||
| import org.jeecg.modules.sysMiniapp.productCategoryJoin.entity.AppProductCategoryJoin; | |||||
| import com.baomidou.mybatisplus.extension.service.IService; | import com.baomidou.mybatisplus.extension.service.IService; | ||||
| /** | /** | ||||
| @ -1,8 +1,8 @@ | |||||
| package org.jeecg.modules.demo.productCategoryJoin.service.impl; | |||||
| package org.jeecg.modules.sysMiniapp.productCategoryJoin.service.impl; | |||||
| import org.jeecg.modules.demo.productCategoryJoin.entity.AppProductCategoryJoin; | |||||
| import org.jeecg.modules.demo.productCategoryJoin.mapper.AppProductCategoryJoinMapper; | |||||
| import org.jeecg.modules.demo.productCategoryJoin.service.IAppProductCategoryJoinService; | |||||
| import org.jeecg.modules.sysMiniapp.productCategoryJoin.entity.AppProductCategoryJoin; | |||||
| import org.jeecg.modules.sysMiniapp.productCategoryJoin.mapper.AppProductCategoryJoinMapper; | |||||
| import org.jeecg.modules.sysMiniapp.productCategoryJoin.service.IAppProductCategoryJoinService; | |||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | ||||
| @ -1,15 +1,10 @@ | |||||
| package org.jeecg.modules.demo.store.entity; | |||||
| package org.jeecg.modules.sysMiniapp.store.entity; | |||||
| import java.io.Serializable; | import java.io.Serializable; | ||||
| import java.io.UnsupportedEncodingException; | |||||
| import java.util.Date; | |||||
| import java.math.BigDecimal; | |||||
| import com.baomidou.mybatisplus.annotation.IdType; | import com.baomidou.mybatisplus.annotation.IdType; | ||||
| import com.baomidou.mybatisplus.annotation.TableId; | import com.baomidou.mybatisplus.annotation.TableId; | ||||
| import com.baomidou.mybatisplus.annotation.TableName; | import com.baomidou.mybatisplus.annotation.TableName; | ||||
| import com.baomidou.mybatisplus.annotation.TableLogic; | |||||
| import org.jeecg.common.constant.ProvinceCityArea; | |||||
| import org.jeecg.common.util.SpringContextUtils; | |||||
| import lombok.Data; | import lombok.Data; | ||||
| import com.fasterxml.jackson.annotation.JsonFormat; | import com.fasterxml.jackson.annotation.JsonFormat; | ||||
| import org.springframework.format.annotation.DateTimeFormat; | import org.springframework.format.annotation.DateTimeFormat; | ||||
| @ -1,9 +1,6 @@ | |||||
| package org.jeecg.modules.demo.store.mapper; | |||||
| package org.jeecg.modules.sysMiniapp.store.mapper; | |||||
| import java.util.List; | |||||
| import org.apache.ibatis.annotations.Param; | |||||
| import org.jeecg.modules.demo.store.entity.AppStore; | |||||
| import org.jeecg.modules.sysMiniapp.store.entity.AppStore; | |||||
| import com.baomidou.mybatisplus.core.mapper.BaseMapper; | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | ||||
| /** | /** | ||||
| @ -1,5 +1,5 @@ | |||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||||
| <mapper namespace="org.jeecg.modules.demo.store.mapper.AppStoreMapper"> | |||||
| <mapper namespace="org.jeecg.modules.sysMiniapp.store.mapper.AppStoreMapper"> | |||||
| </mapper> | |||||
| </mapper> | |||||
| @ -1,6 +1,6 @@ | |||||
| package org.jeecg.modules.demo.store.service; | |||||
| package org.jeecg.modules.sysMiniapp.store.service; | |||||
| import org.jeecg.modules.demo.store.entity.AppStore; | |||||
| import org.jeecg.modules.sysMiniapp.store.entity.AppStore; | |||||
| import com.baomidou.mybatisplus.extension.service.IService; | import com.baomidou.mybatisplus.extension.service.IService; | ||||
| /** | /** | ||||
| @ -1,8 +1,8 @@ | |||||
| package org.jeecg.modules.demo.store.service.impl; | |||||
| package org.jeecg.modules.sysMiniapp.store.service.impl; | |||||
| import org.jeecg.modules.demo.store.entity.AppStore; | |||||
| import org.jeecg.modules.demo.store.mapper.AppStoreMapper; | |||||
| import org.jeecg.modules.demo.store.service.IAppStoreService; | |||||
| import org.jeecg.modules.sysMiniapp.store.entity.AppStore; | |||||
| import org.jeecg.modules.sysMiniapp.store.mapper.AppStoreMapper; | |||||
| import org.jeecg.modules.sysMiniapp.store.service.IAppStoreService; | |||||
| import org.springframework.stereotype.Service; | import org.springframework.stereotype.Service; | ||||
| import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | ||||