商品导入后,前台扫描无此商品,
问题补充:解决方案:可能导入时 ,有空格产生 ,条码的字符数字变成了14个字符,实际只有13个字符。该下语句:
select LEN('6925113320224') 此语句检测字符的个数
update t_item_unit set item_barcode = LEFT(item_barcode,13)
update t_item_info set item_barcode = LEFT(item_barcode,13)
把条码列的字符数改成 13位 执行就OK了
A5 商品导入后 ,后台能刷的出来,前台扫不出来,如何处理??
- 提问者: yjwfn320123
- 等级:普通会员
- 时间:2016-04-20 15:51
- 悬赏:0
- 解决时间:2016-04-30 15:51
回答 共 1 条
为分享精神点赞!
还有2个语句
select * from t_item_unit where IsNull(is_stop,'0') <>'0'
SELECT a.item_no,
b.unit_type,
b.item_barcode
FROM t_item_info a, t_item_unit b
WHERE a.item_no = b.item_no
and (b.item_barcode like '6925113320224%')
还有2个语句
select * from t_item_unit where IsNull(is_stop,'0') <>'0'
SELECT a.item_no,
b.unit_type,
b.item_barcode
FROM t_item_info a, t_item_unit b
WHERE a.item_no = b.item_no
and (b.item_barcode like '6925113320224%')
- 回答者:ytkf007
- 等级:问不倒翁
- 时间:2016-04-21 09:12
快到期问题