From 880923102d91ea31315ac67d292e72d9f60ac68c Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期五, 21 六月 2024 17:29:43 +0800
Subject: [PATCH] 修改样式
---
Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/pageModel/BatchCBO.java | 88 ++++++++++++++++++++++----------------------
1 files changed, 44 insertions(+), 44 deletions(-)
diff --git a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/pageModel/BatchCBO.java b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/pageModel/BatchCBO.java
index a43d086..cd8b141 100644
--- a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/pageModel/BatchCBO.java
+++ b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/pageModel/BatchCBO.java
@@ -1,8 +1,8 @@
package com.vci.web.pageModel;
+import com.vci.corba.omd.data.BusinessObject;
+import com.vci.corba.omd.data.LinkObject;
import org.springframework.util.CollectionUtils;
-import com.vci.client.bof.ClientBusinessObject;
-import com.vci.client.bof.ClientLinkObject;
import java.util.HashSet;
import java.util.Set;
import java.util.stream.Collectors;
@@ -17,42 +17,42 @@
/**
* 绌虹殑涓氬姟绫诲瀷鏁扮粍
*/
- private ClientBusinessObject[] nullCboArray = new ClientBusinessObject[0];
+ private BusinessObject[] nullCboArray = new BusinessObject[0];
/**
* 绌虹殑閾炬帴绫诲瀷鏁扮粍
*/
- private ClientLinkObject[] nullCloArray = new ClientLinkObject[0];
+ private LinkObject[] nullCloArray = new LinkObject[0];
/**
* 鍒涘缓鐨勪笟鍔$被鍨�
*/
- private Set<ClientBusinessObject> createCbos = new HashSet<ClientBusinessObject>();
+ private Set<BusinessObject> createCbos = new HashSet<BusinessObject>();
/**
* 鍒涘缓鐨勯摼鎺ョ被鍨�
*/
- private Set<ClientLinkObject> createClos = new HashSet<ClientLinkObject>();
+ private Set<LinkObject> createClos = new HashSet<LinkObject>();
/**
* 鏇存柊鐨勪笟鍔$被鍨�
*/
- private Set<ClientBusinessObject> updateCbos = new HashSet<ClientBusinessObject>();
+ private Set<BusinessObject> updateCbos = new HashSet<BusinessObject>();
/**
* 鏇存柊鐨勯摼鎺ョ被鍨�
*/
- private Set<ClientLinkObject> updateClos = new HashSet<ClientLinkObject>();
+ private Set<LinkObject> updateClos = new HashSet<LinkObject>();
/**
* 鍒犻櫎涓氬姟绫诲瀷
*/
- private Set<ClientBusinessObject> deleteCbos = new HashSet<ClientBusinessObject>();
+ private Set<BusinessObject> deleteCbos = new HashSet<BusinessObject>();
/**
* 鍒犻櫎鐨勯摼鎺ョ被鍨�
*/
- private Set<ClientLinkObject> deleteClos = new HashSet<ClientLinkObject>();
+ private Set<LinkObject> deleteClos = new HashSet<LinkObject>();
/**
* 鏉ユ簮鏁版嵁闆嗗悎
@@ -91,119 +91,119 @@
}
}
- public void addCreateCbo(ClientBusinessObject cbo){
+ public void addCreateCbo(BusinessObject cbo){
this.createCbos.add(cbo);
}
- public void addCreateClo(ClientLinkObject clo){
+ public void addCreateClo(LinkObject clo){
this.createClos.add(clo);
}
- public void addUpdateCbo(ClientBusinessObject cbo){
+ public void addUpdateCbo(BusinessObject cbo){
this.updateCbos.add(cbo);
}
- public void addUpdateClo(ClientLinkObject clo){
+ public void addUpdateClo(LinkObject clo){
this.updateClos.add(clo);
}
- public void addDeleteCbo(ClientBusinessObject cbo){
+ public void addDeleteCbo(BusinessObject cbo){
this.deleteCbos.add(cbo);
}
- public void addDeleteClo(ClientLinkObject clo){
+ public void addDeleteClo(LinkObject clo){
this.deleteClos.add(clo);
}
- public ClientBusinessObject[] getCreateCboArray(){
+ public BusinessObject[] getCreateCboArray(){
if( this.createCbos == null){
- this.createCbos = new HashSet<ClientBusinessObject>();
+ this.createCbos = new HashSet<BusinessObject>();
}
- return this.createCbos.stream().sorted(((o1, o2) -> Math.toIntExact(o1.getCreateTime() - o2.getCreateTime()))).collect(Collectors.toList()).toArray(nullCboArray);
+ return this.createCbos.stream().sorted(((o1, o2) -> Math.toIntExact(o1.createTime - o2.createTime))).collect(Collectors.toList()).toArray(nullCboArray);
}
- public ClientLinkObject[] getCreateCloArray(){
+ public LinkObject[] getCreateCloArray(){
if( this.createClos == null){
- this.createClos = new HashSet<ClientLinkObject>();
+ this.createClos = new HashSet<LinkObject>();
}
- return this.createClos.stream().sorted(((o1, o2) -> Math.toIntExact(o1.getCreateTime() - o2.getCreateTime()))).collect(Collectors.toList()).toArray(nullCloArray);
+ return this.createClos.stream().sorted(((o1, o2) -> Math.toIntExact(o1.createTime - o2.createTime))).collect(Collectors.toList()).toArray(nullCloArray);
}
- public ClientBusinessObject[] getUpdateCboArray(){
+ public BusinessObject[] getUpdateCboArray(){
if( this.updateCbos == null){
- this.updateCbos = new HashSet<ClientBusinessObject>();
+ this.updateCbos = new HashSet<BusinessObject>();
}
- return this.updateCbos.stream().sorted(((o1, o2) -> Math.toIntExact(o1.getCreateTime() - o2.getCreateTime()))).collect(Collectors.toList()).toArray(nullCboArray);
+ return this.updateCbos.stream().sorted(((o1, o2) -> Math.toIntExact(o1.createTime - o2.createTime))).collect(Collectors.toList()).toArray(nullCboArray);
}
- public ClientLinkObject[] getUpdateCloArray(){
+ public LinkObject[] getUpdateCloArray(){
if( this.updateClos == null){
- this.updateClos = new HashSet<ClientLinkObject>();
+ this.updateClos = new HashSet<LinkObject>();
}
- return this.updateClos.stream().sorted(((o1, o2) -> Math.toIntExact(o1.getCreateTime() - o2.getCreateTime()))).collect(Collectors.toList()).toArray(nullCloArray);
+ return this.updateClos.stream().sorted(((o1, o2) -> Math.toIntExact(o1.createTime - o2.createTime))).collect(Collectors.toList()).toArray(nullCloArray);
}
- public ClientBusinessObject[] getDeleteCboArray(){
+ public BusinessObject[] getDeleteCboArray(){
if( this.deleteCbos == null){
- this.deleteCbos = new HashSet<ClientBusinessObject>();
+ this.deleteCbos = new HashSet<BusinessObject>();
}
return this.deleteCbos.toArray(nullCboArray);
}
- public ClientLinkObject[] getDeleteCloArray(){
+ public LinkObject[] getDeleteCloArray(){
if( this.deleteClos == null){
- this.deleteClos = new HashSet<ClientLinkObject>();
+ this.deleteClos = new HashSet<LinkObject>();
}
return this.deleteClos.toArray(nullCloArray);
}
- public Set<ClientBusinessObject> getCreateCbos() {
+ public Set<BusinessObject> getCreateCbos() {
return createCbos;
}
- public void setCreateCbos(Set<ClientBusinessObject> createCbos) {
+ public void setCreateCbos(Set<BusinessObject> createCbos) {
this.createCbos = createCbos;
}
- public Set<ClientLinkObject> getCreateClos() {
+ public Set<LinkObject> getCreateClos() {
return createClos;
}
- public void setCreateClos(Set<ClientLinkObject> createClos) {
+ public void setCreateClos(Set<LinkObject> createClos) {
this.createClos = createClos;
}
- public Set<ClientBusinessObject> getUpdateCbos() {
+ public Set<BusinessObject> getUpdateCbos() {
return updateCbos;
}
- public void setUpdateCbos(Set<ClientBusinessObject> updateCbos) {
+ public void setUpdateCbos(Set<BusinessObject> updateCbos) {
this.updateCbos = updateCbos;
}
- public Set<ClientLinkObject> getUpdateClos() {
+ public Set<LinkObject> getUpdateClos() {
return updateClos;
}
- public void setUpdateClos(Set<ClientLinkObject> updateClos) {
+ public void setUpdateClos(Set<LinkObject> updateClos) {
this.updateClos = updateClos;
}
- public Set<ClientBusinessObject> getDeleteCbos() {
+ public Set<BusinessObject> getDeleteCbos() {
return deleteCbos;
}
- public void setDeleteCbos(Set<ClientBusinessObject> deleteCbos) {
+ public void setDeleteCbos(Set<BusinessObject> deleteCbos) {
this.deleteCbos = deleteCbos;
}
- public Set<ClientLinkObject> getDeleteClos() {
+ public Set<LinkObject> getDeleteClos() {
return deleteClos;
}
- public void setDeleteClos(Set<ClientLinkObject> deleteClos) {
+ public void setDeleteClos(Set<LinkObject> deleteClos) {
this.deleteClos = deleteClos;
}
--
Gitblit v1.9.3