Compare commits

..

No commits in common. "5b0a2e2850061b7d8e7fe4194026efc3d0f23994" and "4337b580f32f55e72b9843ee4805c15f21308d32" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ public class EquipmentCardListPlugin extends AbstractListPlugin implements Plugi
IFormView view = this.getView();
view.invokeOperation("refresh");
} else if (itemKey.equals("zcgj_asset")) {//同步资产卡片
Set<String> strings = new HashSet();
List<String> strings = new ArrayList<>();
DynamicObject[] equipmenttype = BusinessDataServiceHelper.load("zcgj_equipmenttype", "number,zcgj_assetcat",new QFilter[]{new QFilter("zcgj_assetcat.number", QCP.is_notnull,"" )});
for (DynamicObject dynamicObject : equipmenttype) {
String number = dynamicObject.getDynamicObject("zcgj_assetcat").getString("number");

View File

@ -38,7 +38,7 @@ public class EquipmentCardTaskPlugin extends AbstractTask {
@Override
public void execute(RequestContext requestContext, Map<String, Object> map) throws KDException {//同步资产卡片
Set<String> strings = new HashSet();
List<String> strings = new ArrayList<>();
DynamicObject[] equipmenttype = BusinessDataServiceHelper.load("zcgj_equipmenttype", "number,zcgj_assetcat",new QFilter[]{new QFilter("zcgj_assetcat.number", QCP.is_notnull,"" )});
for (DynamicObject dynamicObject : equipmenttype) {
String number = dynamicObject.getDynamicObject("zcgj_assetcat").getString("number");