Commit d84644e8 authored by H2T's avatar H2T

计划执行复制检查计划

parent ad0421a2
......@@ -206,8 +206,8 @@ public class PlanServiceImpl implements IPlanService {
@Override
public void planSaveAs(Long[] param) {
for(int i=0;i<param.length;i++){
Plan plan = planMapper.getPlanEntityById(param[i].toString());
for (Long aLong : param) {
Plan plan = planMapper.getPlanEntityById(aLong.toString());
Long longId = planMapper.getMaxId();
plan.setName(plan.getName() + "复制");
plan.setId(longId + 1);
......
......@@ -44,7 +44,10 @@
remark1,
remark2,
is_single_execution,
user_dept
user_dept,
biz_org_code,
biz_org_name,
user_group_id
FROM
p_plan
WHERE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment