TaskInfo taskInfo = taskInfoDAO.findById(jobid);
if(taskInfo==null){
result.setFailed(TASK_INFO_NOTEXIST,jobid);
}else{
TaskParamV taskParamV = taskParamVDAO
.findById(new TaskParamVId(jobid, param_name));
try {
if (taskParamV == null) {
taskParamV = new TaskParamV();
BeanUtils.populate(taskParamV, properties);
taskParamV.setId(new TaskParamVId(jobid, param_name));
taskParamV.setTaskInfo(taskInfo);
taskParamVDAO.merge(taskParamV);
} else {
BeanUtils.populate(taskParamV, properties);
taskParamVDAO.merge(taskParamV);