找回密码
 立即注册
搜索
查看: 98|回复: 1

查询配送申请单, 已作废的

[复制链接]

251

主题

134

回帖

1404

积分

版主

积分
1404

活跃会员宣传达人突出贡献优秀版主

发表于 2024-8-29 11:03:33 | 显示全部楼层 |阅读模式
select  *  from    t_distapply_h  where
billcode = 'APP' AND t_distapply_h.compid=2  and status=2
and applyno='23123112212105'

251

主题

134

回帖

1404

积分

版主

积分
1404

活跃会员宣传达人突出贡献优秀版主

 楼主| 发表于 2024-8-29 11:03:41 | 显示全部楼层
---重置已作废的配送申请单

INSERT INTO tmp_disable_trigger (table_name) VALUES ('t_distapply_h');
update   t_distapply_h  set status=0,CHECKER1='',CHECKBIT1=0, CHECKER2='',CHECKBIT2=0 where
billcode = 'APP' AND t_distapply_h.compid=2  and status=2
and applyno='23122123411007705' ;  
delete from tmp_disable_trigger where table_name='t_distapply_h';
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表