|
@@ -646,9 +646,13 @@ public class ApsProcessOperationServiceImpl extends ServiceImpl<ApsProcessOperat
|
|
|
StringBuffer planoutsb = new StringBuffer();
|
|
|
Collections.sort(planoutputList);
|
|
|
Integer outIndex = 1;
|
|
|
- for (String planout : planoutputList) {
|
|
|
- planoutsb.append("[" + outIndex + "]" + planout + "/n");
|
|
|
- outIndex++;
|
|
|
+ if (planoutputList.size() == 1) {
|
|
|
+ planoutsb.append("[1]" + planoutputList.get(0));
|
|
|
+ } else {
|
|
|
+ for (String planout : planoutputList) {
|
|
|
+ planoutsb.append("[" + outIndex + "]" + planout + "/n");
|
|
|
+ outIndex++;
|
|
|
+ }
|
|
|
}
|
|
|
apsProcessOperationDo.setPlanoutput(planoutsb.toString());
|
|
|
|