|
@@ -639,6 +639,12 @@ class Synchronization extends Api
|
|
|
->where('U8UID', $value['U8_UID'])
|
|
->where('U8UID', $value['U8_UID'])
|
|
|
->update($data);
|
|
->update($data);
|
|
|
$res = \db()->query($sql);
|
|
$res = \db()->query($sql);
|
|
|
|
|
+ //修改产品印件资料
|
|
|
|
|
+ $yjSql = \db('产品_印件资料')
|
|
|
|
|
+ ->fetchSql(true)
|
|
|
|
|
+ ->where('yj_yjdh',$data['物料代码'])
|
|
|
|
|
+ ->update(['yj_yjmc' => $data['物料名称']]);
|
|
|
|
|
+ $yjRes = \db()->query($yjSql);
|
|
|
if ($res === false) {
|
|
if ($res === false) {
|
|
|
$i++;
|
|
$i++;
|
|
|
} else {
|
|
} else {
|
|
@@ -1573,6 +1579,12 @@ class Synchronization extends Api
|
|
|
->where('U8UID', $value['U8_UID'])
|
|
->where('U8UID', $value['U8_UID'])
|
|
|
->update($data);
|
|
->update($data);
|
|
|
$res = \db()->query($sql);
|
|
$res = \db()->query($sql);
|
|
|
|
|
+ //修改产品印件名称
|
|
|
|
|
+ $yjSql = \db('产品_印件资料')
|
|
|
|
|
+ ->fetchSql(true)
|
|
|
|
|
+ ->where('yj_yjdh',$data['物料代码'])
|
|
|
|
|
+ ->update(['yj_yjmc' => $data['物料名称']]);
|
|
|
|
|
+ $yjRes = \db()->query($yjSql);
|
|
|
if ($res === false) {
|
|
if ($res === false) {
|
|
|
$i++;
|
|
$i++;
|
|
|
} else {
|
|
} else {
|