调整 pojo 引用关系, mes-pcn-pojo 已废弃
parent
1d02d45e61
commit
eef7ed9c32
@ -1,40 +0,0 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.script.EngineScriptPersistence;
|
||||
import org.springframework.data.jpa.repository.Query;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : 脚本引擎持久化类
|
||||
* @Reference :
|
||||
* @Author : Rock.Yu
|
||||
* @CreateDate : 2019-04-16 09:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IEngineScriptPersistenceRepository extends BaseRepository<EngineScriptPersistence, Long> {
|
||||
/**
|
||||
* 按照工厂代码和脚本编号查询脚本实体对象
|
||||
* @param organizeCode 工厂代码
|
||||
* @param scriptNo 脚本编号
|
||||
* @return 脚本实体对象
|
||||
*/
|
||||
EngineScriptPersistence findByOrganizeCodeAndScriptNo(String organizeCode, String scriptNo);
|
||||
|
||||
/**
|
||||
* 按照脚本编号查询脚本实体对象
|
||||
* @param scriptNo 脚本编号
|
||||
* @return 脚本实体对象
|
||||
*/
|
||||
EngineScriptPersistence findByScriptNo(String scriptNo);
|
||||
|
||||
/**
|
||||
* 查找所有的脚本语言类型
|
||||
* @return 数据库中已经存在的脚本语言类型
|
||||
*/
|
||||
@Query("select t.languageType from EngineScriptPersistence t group by t.organizeCode, t.languageType")
|
||||
List findGroupByLanguageType();
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.script;
|
||||
package cn.estsh.i3plus.pojo.mes.engine.script;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
@ -1,4 +1,4 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.script;
|
||||
package cn.estsh.i3plus.pojo.mes.engine.script;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
@ -1,7 +1,7 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.script.EngineScriptPersistenceHistory;
|
||||
import cn.estsh.i3plus.pojo.mes.engine.script.EngineScriptPersistenceHistory;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
Loading…
Reference in New Issue