|
|
@@ -247,7 +247,7 @@ namespace UAS_MES.Make
|
|
|
//打印成功,记录日志commandlog , cl_operate彩盒或者机身标补打印,cl_result补打印成功
|
|
|
LogicHandler.DoCommandLog(User.UserCode, "", User.UserLineCode, User.UserSourceCode, giftBox.Checked?"彩盒标补打印":"机身标补打印", "补打印成功", inputValue.Text, "");
|
|
|
//如果ms_downstatus<>0,则更新ms_downstatus=-1 where ms_id=?id,同时插入记录至表 MAKEDOWN
|
|
|
- if (mapB.Rows[0]["ms_downstatus"].ToString()!="0")
|
|
|
+ if (mapB.Rows[0]["ms_downstatus"].ToString()=="0")
|
|
|
{
|
|
|
dh.ExecuteSql("update makeserial set ms_downstatus='-1' where ms_id='"+ms_id+"'","update");
|
|
|
//插入数据
|
|
|
@@ -270,7 +270,7 @@ namespace UAS_MES.Make
|
|
|
//打印成功,记录日志commandlog , cl_operate彩盒或者机身标补打印,cl_result补打印成功
|
|
|
LogicHandler.DoCommandLog(User.UserCode, "", User.UserLineCode, User.UserSourceCode, "卡通箱标签补打印,箱号:"+ inputValue.Text, "补打印成功","", "");
|
|
|
//如果pa_downstatus<>0,则更新pa_downstatus=-1 where pa_outboxcode=?code,同时插入记录至表 MAKEDOWN
|
|
|
- if (mapB.Rows[0]["pa_downstatus"].ToString()!="0") {
|
|
|
+ if (mapB.Rows[0]["pa_downstatus"].ToString()=="0") {
|
|
|
dh.ExecuteSql("update package set pa_downstatus='-1' where pa_outboxcode='"+ inputValue.Text+"'", "update");
|
|
|
//插入MakeDown表
|
|
|
putInfo2MakeDown();
|