Browse Source

客户排序号 SEQ号 pin_picktemplate_printlst.picture 添加INT类型

pull/8/head
DESKTOP-4672LME\Xu Tengfei 3 years ago
parent
commit
512d7943d8
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      service/Printer.go

+ 5
- 1
service/Printer.go View File

@ -304,7 +304,11 @@ func GetValueByPicture(val string, picture string, varpos string) (retval string
return
}
retval = val[ibeg-1 : iend-1]
case "INT":
fVal := common.ValueToFloat(val, 0.0)
iVal := common.ValueToInt(fVal, 0)
sVal := common.ValueToString(iVal, "")
retval = sVal
default:
retval = val
}


Loading…
Cancel
Save