扩展mapper和实现mapper区别于代码生成包路径

This commit is contained in:
shuzheng 2017-03-19 23:52:01 +08:00
parent 87ece3e3e4
commit 21643e0a65
3 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
package com.zheng.upms.dao.mapper;
package com.zheng.upms.rpc.dao.mapper;
import com.zheng.upms.dao.model.UpmsPermission;

View File

@ -1,6 +1,6 @@
<?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="com.zheng.upms.dao.mapper.UpmsApiMapper">
<mapper namespace="com.zheng.upms.rpc.dao.mapper.UpmsApiMapper">
<!-- 权限 -->
<resultMap id="UpmsPermissionResultMap" type="com.zheng.upms.dao.model.UpmsPermission">

View File

@ -3,6 +3,7 @@ package com.zheng.upms.rpc.service.impl;
import com.zheng.upms.dao.mapper.*;
import com.zheng.upms.dao.model.*;
import com.zheng.upms.rpc.api.UpmsApiService;
import com.zheng.upms.rpc.dao.mapper.UpmsApiMapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;