update
This commit is contained in:
@@ -11,7 +11,8 @@ import com.jeesite.modules.sys.entity.Employee;
|
|||||||
* 员工管理DAO接口
|
* 员工管理DAO接口
|
||||||
* @author ThinkGem
|
* @author ThinkGem
|
||||||
* @version 2017-03-25
|
* @version 2017-03-25
|
||||||
* 通过 UserUtils.loadRefObj() 加载引用类型对象时,需要给MyBatisDao指定引用entity类型。
|
* 通过 user.getRefObj() 获取引用对象时,需要给 \@MyBatisDao 指定引用 entity 类型。
|
||||||
|
* 但是,在 4.2.0+ 版本中,新增了 userTypeMap 指定 service,所以无需设置 entity 类型。
|
||||||
*/
|
*/
|
||||||
@MyBatisDao(entity = Employee.class)
|
@MyBatisDao(entity = Employee.class)
|
||||||
public interface EmployeeDao extends CrudDao<Employee> {
|
public interface EmployeeDao extends CrudDao<Employee> {
|
||||||
|
|||||||
@@ -70,6 +70,10 @@ import com.jeesite.common.utils.excel.fieldtype.OfficeType;
|
|||||||
@Column(name="area_name", label="区域名称", isQuery=false),
|
@Column(name="area_name", label="区域名称", isQuery=false),
|
||||||
@Column(name="area_type", label="区域类型"),
|
@Column(name="area_type", label="区域类型"),
|
||||||
}),
|
}),
|
||||||
|
// @JoinTable(type=Type.LEFT_JOIN, entity=User.class, attrName="this", alias="u",
|
||||||
|
// on="u.user_code = a.create_by", columns={
|
||||||
|
// @Column(name="user_name", attrName="createByName", label="用户名称", isQuery=false),
|
||||||
|
// }),
|
||||||
},
|
},
|
||||||
// extFromKeys="dsfOfficeFrom, dsfCompanyFrom",
|
// extFromKeys="dsfOfficeFrom, dsfCompanyFrom",
|
||||||
// extWhereKeys="dsfOfficeWhere, dsfCompanyWhere",
|
// extWhereKeys="dsfOfficeWhere, dsfCompanyWhere",
|
||||||
|
|||||||
Reference in New Issue
Block a user