From d8b5d32c3fa3be017b05d7c2c7b53a2f0f356ffe Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期五, 26 十二月 2025 16:30:59 +0800
Subject: [PATCH] 网页条码生成:获取源单数据时,增加 保质期启用标记、生产日期、有效期至、有效期单位、有效期值
---
WebAPI/Controllers/CellWidthController.cs | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/WebAPI/Controllers/CellWidthController.cs b/WebAPI/Controllers/CellWidthController.cs
index d91b945..95484a2 100644
--- a/WebAPI/Controllers/CellWidthController.cs
+++ b/WebAPI/Controllers/CellWidthController.cs
@@ -15,7 +15,8 @@
{
public class CellWidthController : ApiController
{
- private json objJsonResult = new json();
+
+ private json objJsonResult = new json();
public DataSet ds = new DataSet();
public WebServer webserver = new WebServer();
@@ -135,8 +136,11 @@
{
num = colNum;
}
+
for (int i = 0; i < num; i++)
{
+ // 鍙栨暣鏁伴儴鍒� 鍚﹀垯杞琁nt16鍙兘浼氭姤閿� 杩斿洖鍊间负0
+ array[i] = array[i].Split('.')[0];
bool flag3 = ClsPub.isInt(array[i]) > 500;
if (flag3)
{
--
Gitblit v1.9.1