|
@@ -8,22 +8,20 @@ import com.x.base.core.project.bean.WrapCopier;
|
|
|
import com.x.base.core.project.bean.WrapCopierFactory;
|
|
import com.x.base.core.project.bean.WrapCopierFactory;
|
|
|
import com.x.base.core.project.http.ActionResult;
|
|
import com.x.base.core.project.http.ActionResult;
|
|
|
import com.x.base.core.project.tools.ListTools;
|
|
import com.x.base.core.project.tools.ListTools;
|
|
|
-import com.x.processplatform.assemble.designer.jaxrs.form.ActionListNext.Wo;
|
|
|
|
|
import com.x.processplatform.core.entity.element.Form;
|
|
import com.x.processplatform.core.entity.element.Form;
|
|
|
|
|
|
|
|
class ActionListPrev extends BaseAction {
|
|
class ActionListPrev extends BaseAction {
|
|
|
ActionResult<List<Wo>> execute(String id, Integer count) throws Exception {
|
|
ActionResult<List<Wo>> execute(String id, Integer count) throws Exception {
|
|
|
- ActionResult<List<Wo>> result = new ActionResult<>();
|
|
|
|
|
- result = this.standardListPrev(Wo.copier, id, count, JpaObject.sequence_FIELDNAME, null, null, null, null, null, null, null, null,
|
|
|
|
|
- true, DESC);
|
|
|
|
|
- return result;
|
|
|
|
|
|
|
+ return this.standardListPrev(Wo.copier, id, count, JpaObject.sequence_FIELDNAME, null, null, null, null, null,
|
|
|
|
|
+ null, null, null, true, DESC);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public static class Wo extends Form {
|
|
public static class Wo extends Form {
|
|
|
|
|
|
|
|
private static final long serialVersionUID = -7495725325510376323L;
|
|
private static final long serialVersionUID = -7495725325510376323L;
|
|
|
|
|
|
|
|
- public static WrapCopier<Form, Wo> copier = WrapCopierFactory.wo(Form.class, Wo.class, null,
|
|
|
|
|
|
|
+ public static final WrapCopier<Form, Wo> copier = WrapCopierFactory.wo(Form.class, Wo.class,
|
|
|
|
|
+ JpaObject.singularAttributeField(Form.class, true, true),
|
|
|
ListTools.toList(JpaObject.FieldsInvisible, Form.data_FIELDNAME, Form.mobileData_FIELDNAME));
|
|
ListTools.toList(JpaObject.FieldsInvisible, Form.data_FIELDNAME, Form.mobileData_FIELDNAME));
|
|
|
|
|
|
|
|
@FieldDescribe("排序号")
|
|
@FieldDescribe("排序号")
|