Skip to content

Instantly share code, notes, and snippets.

View zimmem's full-sized avatar

Zimmem zimmem

  • Tencent
  • Shenzhen China
View GitHub Profile
@edokeh
edokeh / index.js
Last active May 14, 2025 15:04
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \
@henryyan
henryyan / gist:2183712
Created March 24, 2012 14:43
Activiti:获取当前Task在流程图的坐标
/**
* 读取资源
*
* @return
*/
public String loadResource() {
try {
InputStream resourceAsStream = null;
if (StringUtils.isNotBlank(processInstanceId)) {
ProcessInstance processInstance = runtimeService.createProcessInstanceQuery().processInstanceId(processInstanceId).singleResult();