当前位置:网站首页>TP5 where query one field is not equal to multiple values
TP5 where query one field is not equal to multiple values
2022-04-23 03:03:00 【Stupid little attendant】
- Code up
// assemble where Conditions
$wheres = [];
// Background personnel type
$people = input('people','');
switch($people){
case " Merchandiser ":
$wheres['order_type'] = ['neq', ' Wait for the salesman to review '];
break;
case " business ":
$wheres['order_type'] = [['neq', ' Wait for the salesman to review '],['neq', ' The salesman has received the order '],['neq', ' The salesman has rejected ']];
break;
}
版权声明
本文为[Stupid little attendant]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220630238608.html
边栏推荐
- Source Generator实战
- 微软是如何解决 PC 端程序多开问题的——内部实现
- Deep q-network (dqn)
- Résumé du gestionnaire de projet du système d'information Chapitre VI gestion des ressources humaines du projet
- The difference between encodeuri and encodeuricomponent
- c#语法糖模式匹配【switch 表达式】
- BLDC double closed loop (speed PI + current PI) Simulink simulation model
- Distributed system services
- [format] simple output (2)
- Table space capacity query and expansion of Oracle Database
猜你喜欢
随机推荐
[learn junit5 from official documents] [II] [writingtests] [learning notes]
Plug in for vscode
Error installing Mongo service 'mongodb server' on win10 failed to start
Winsock programming interface experiment: Ping
Dynamic sequence table + OJ
C# WPF UI框架MahApps切换主题
It turns out that PID was born in the struggle between Lao wangtou and Lao sky
Source Generator实战
Opencv fills the rectangle with a transparent color
Thoughts on the 2022 national network security competition of the national secondary vocational group (only one idea for myself) - network security competition questions (9)
L2-006 樹的遍曆(中後序確定二叉樹&層序遍曆)
【新版发布】ComponentOne 新增 .NET 6 和 Blazor 平台控件支持
.Net Core 限流控制-AspNetCoreRateLimit
The shell monitors the depth of the IBM MQ queue and scans it three times in 10s. When the depth value exceeds 5 for more than two times, the queue name and depth value are output.
AC & A2C & A3C
Guangcheng cloud service can fill in a daily report regularly every day
Traversée de l'arbre L2 - 006
树莓派开发笔记(十二):入手研华ADVANTECH工控树莓派UNO-220套件(一):介绍和运行系统
.NET7之MiniAPI(特别篇):.NET7 Preview3
Winsock programming interface experiment: implementation of ipconfig








![How to use C language to realize [guessing numbers game]](/img/8c/052dcb0ce64ee1713bebb1340248e6.png)