|
@@ -1698,7 +1698,7 @@ namespace UAS_LabelMachine
|
|
|
//设置当前流水
|
|
//设置当前流水
|
|
|
if (maxnum == "")
|
|
if (maxnum == "")
|
|
|
{
|
|
{
|
|
|
- maxnum = dh.getFieldDataByCondition("RuleMaxNum", "rmn_maxnumber", "rmn_nrcode='" + (NrCode == "" ? "Default" : NrCode) + "' and nvl(rmn_type,' ')='" + ReSetType + "'").ToString();
|
|
|
|
|
|
|
+ maxnum = dh.getFieldDataByCondition("RuleMaxNum", "max(rmn_maxnumber)", "rmn_nrcode='" + (NrCode == "" ? "Default" : NrCode) + "' and nvl(rmn_type,' ')='" + ReSetType + "'").ToString();
|
|
|
if (maxnum != "")
|
|
if (maxnum != "")
|
|
|
{
|
|
{
|
|
|
Count = int.Parse(maxnum) + Count;
|
|
Count = int.Parse(maxnum) + Count;
|