首页>代码>Activiti5+Spring+Hibernate开发请假工作流java Web实例Demo项目源代码下载>/kft-activiti/src/me/kafeitu/demo/activiti/dao/ActivitiDao.java
package me.kafeitu.demo.activiti.dao; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import org.springframework.stereotype.Component; /** * Activiti相关DAO操作 * @author: Henry Yan */ @Component public class ActivitiDao { @PersistenceContext private EntityManager entityManager; /** * 流程完成后清理detail表中的表单类型数据 * @param processInstanceId * @return */ public int deleteFormPropertyByProcessInstanceId(String processInstanceId) { int i = entityManager.createNativeQuery("delete from act_hi_detail where proc_inst_id_ = ? and type_ = 'FormProperty' ") .setParameter(1, processInstanceId).executeUpdate(); return i; } }
最近下载更多
278725692 LV3
4月6日
xxx520520 LV6
2023年6月14日
yin出门买了吗了 LV9
2023年5月11日
pfb123456 LV8
2022年11月14日
幸运疯子 LV13
2022年10月31日
buxiaonan LV2
2022年5月10日
wanglinddad LV55
2022年4月25日
saturn_yy520 LV8
2022年2月28日
tiansitong LV14
2022年2月25日
9605451tjb LV4
2022年1月20日
最近浏览更多
denglu123321 LV4
4月11日
278725692 LV3
4月6日
1049066887 LV12
3月3日
微信网友_6839318728380416 LV1
1月26日
๑๑陌上花开 LV14
2023年9月22日
漫步的海星 LV4
2023年9月21日
llb0420 LV10
2023年7月11日
xxx520520 LV6
2023年6月13日
15575564465 LV1
2023年6月12日
AaronDjc LV3
2023年5月20日