|
|
@@ -11200,15 +11200,21 @@ namespace Dongke.IBOSS.PRD.WCF.Services
|
|
|
{
|
|
|
ClientRequestEntity cre = new ClientRequestEntity();
|
|
|
cre.Properties["Barcode"] = data["Barcode"];
|
|
|
- cre.Properties["PrinterID1"] = data["PrinterID1"];
|
|
|
- cre.Properties["PrinterID2"] = data["PrinterID2"];
|
|
|
- cre.Properties["PrinterID3"] = data["PrinterID3"];
|
|
|
+
|
|
|
+ if (data.ContainsKey("PrinterID1"))
|
|
|
+ cre.Properties["PrinterID1"] = data["PrinterID1"];
|
|
|
+
|
|
|
+ if (data.ContainsKey("PrinterID2"))
|
|
|
+ cre.Properties["PrinterID2"] = data["PrinterID2"];
|
|
|
+
|
|
|
+ if (data.ContainsKey("PrinterID3"))
|
|
|
+ cre.Properties["PrinterID3"] = data["PrinterID3"];
|
|
|
|
|
|
ServiceResultEntity sre = SystemModuleLogic.PrintBarcode_3BL_B(cre, sUserInfo);
|
|
|
|
|
|
if (sre.Status == Constant.ServiceResultStatus.Success)
|
|
|
{
|
|
|
- if (sre.OtherStatus > 0)
|
|
|
+ if (sre.Result != null)
|
|
|
{
|
|
|
actionResult.Status = (int)Constant.PDAResult.Success;
|
|
|
}
|