当前位置:网站首页>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
边栏推荐
- Service avalanche effect
- Redis Cluster集群,主节点故障,主从切换后ip变化,客户端需要处理不
- 《信息系統項目管理師總結》第六章 項目人力資源管理
- Chapter VI project information management system summary
- The input of El input input box is invalid, and error in data(): "referenceerror: El is not defined“
- Cherno_ Game engine series tutorial (5): 101~
- C# 11 的这个新特性,我愿称之最强!
- Summary of interface automation interview questions for software testing
- [learn junit5 from official documents] [II] [writingtests] [learning notes]
- Thoughts on the 2022 national network security competition of the national secondary vocational group (only one idea for myself) - network security competition questions (9)
猜你喜欢
![Niuke white moon race 5 [problem solving mathematics field]](/img/be/ca059bd1c84eaaaefa3266f9119a6b.png)
Niuke white moon race 5 [problem solving mathematics field]

腾讯视频VIP会员,周卡特价9元!腾讯官方直充,会员立即生效!

Source Generator实战

基于ele封装下拉菜单等组件

Summary of software test interview questions

Xamarin效果第二十二篇之录音效果

Configuring Apache Web services for servers such as Tianyi cloud

Encapsulation of ele table

Binary tree

Shell script learning notes - regular expressions
随机推荐
MYSQL04_ Exercises corresponding to arithmetic, logic, bit, operator and operator
Redis Cluster集群,主节点故障,主从切换后ip变化,客户端需要处理不
The usage of case when and select case when is very easy to use
Restart redis
Introduction to ACM [inclusion exclusion theorem]
HLS / chisel practice CORDIC high performance computing complex square root
MYSQL_ From mastery to abandonment
基于.NetCore开发博客项目 StarBlog - (1) 为什么需要自己写一个博客?
Basic SQL (VIII) data update operation practice
MySQL insert free column
Blazor University (12)组件 — 组件生命周期
【鉴权/授权】自定义一个身份认证Handler
《信息系統項目管理師總結》第六章 項目人力資源管理
Wepy learning record
Response processing of openfeign
Table space capacity query and expansion of Oracle Database
Opencv fills the rectangle with a transparent color
AspNetCore配置多环境log4net配置文件
.NET点滴:说说Middleware构造中获取不到Scoped服务的问题
微软是如何解决 PC 端程序多开问题的