using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PurchingMistakeNew { public class VerifyHelper { public static bool ScanSjBarCodeFormat(string scanSjBarCode) { if (scanSjBarCode.Length > 20 && scanSjBarCode.Contains(".") == false) { return false; } return true; } } }