コード例 #1
0
 public List<TForm> getFormByTaskidAndTaskDefId(String taskId, String taskDefId) {
   TFormExample tformExample = new TFormExample();
   Criteria criteria = tformExample.createCriteria();
   String processdefid = activitiManager.findProcessDefinitionEntityByTaskId(taskId).getId();
   activitiManager.findProcessDefinitionEntityByTaskId(taskId);
   criteria.andActIdEqualTo(taskDefId).andProcessdefidEqualTo(processdefid);
   return tformMapper.selectByExample(tformExample);
 }
コード例 #2
0
 public List<TForm> getForm(String processdefid, String act_id) {
   TFormExample tformExample = new TFormExample();
   Criteria criteria = tformExample.createCriteria();
   criteria.andActIdEqualTo(act_id).andProcessdefidEqualTo(processdefid);
   return tformMapper.selectByExample(tformExample);
 }