|
|
@@ -199,13 +199,13 @@ public class FlowDaoImpl implements FlowDao {
|
|
|
|
|
|
|
|
|
@Override
|
|
|
- public int createFlowInstance(FlowInstance finstance) {
|
|
|
+ public int createFlowInstance(FlowInstance finstance) {
|
|
|
String sql = "INSERT INTO bpm_flow_instance " + "(l_ins_id, v_ins_name, v_ins_sub_name, v_ins_remark, "
|
|
|
+ "l_model_id, n_state, v_creator, " + "d_createdate, l_form_ins_id, "
|
|
|
+ "l_groupid, l_office_id, l_form_id, l_groupxuserid, l_pdf_id)" + "VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)";
|
|
|
return jdbcTemplate.update(sql, new Object[] { finstance.getInsId(), finstance.getInsName(), finstance.getInsSubName(),
|
|
|
finstance.getInsRemark(), finstance.getModelId().getModelId(), finstance.getState().getValue(),
|
|
|
- finstance.getCreator().getUserId(), DateUtil.getCurSysDate(Constant.DATETIME_FORMATE),
|
|
|
+ finstance.getCreator().getUserId(), finstance.getCreatedate(),
|
|
|
// finstance.getFileId().getUniversalid(),
|
|
|
finstance.getFormInsId(), finstance.getGroupid().getGroupId(), finstance.getOfficeId().getUniversalid(),
|
|
|
finstance.getFormId().getFormId(), finstance.getGroupxuserid().getId(), finstance.getPdfId().getUniversalid() });
|