提交 15afdf4c 编写于 作者: fengmin's avatar fengmin

删除文件

上级 8804c18e
package cn.ibizlab.core.rule.mapper;
import cn.ibizlab.core.rule.domain.RuleEngine;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
public interface RuleEngineExtendMapper extends BaseMapper<RuleEngine> {
/**
*
* 查询所有消费者信息
*/
List<RuleEngine> selectCustomerList();
}
<?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="cn.ibizlab.core.rule.mapper.RuleEngineExtendMapper">
<resultMap id="RuleEngineResultMap" type="cn.ibizlab.core.rule.domain.RuleEngine" autoMapping="true">
<id property="engineId" column="engineid" /><!--主键字段映射-->
<result property="group" column="rulegroup" />
<result property="modelId" column="modelid" />
<result property="state" column="execstate" />
<!--通过mybatis自动注入关系属性[主实体],fetchType="lazy"为懒加载配置 -->
<association property="model" javaType="cn.ibizlab.core.lite.domain.MetaModel" column="modelid" select="cn.ibizlab.core.lite.mapper.MetaModelMapper.selectById" fetchType="lazy"></association>
</resultMap>
<select id="selectCustomerList" resultType="cn.ibizlab.core.rule.domain.RuleEngine">
SELECT ENGINEID ,(SELECT CODENAME FROM IBZMODEL WHERE E.MODELID=MODELID) AS MODELID,EXTPARAMS FROM IBZRULEENGINE E WHERE MODELID IS NOT NULL
</select>
</mapper>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册