当前位置:网站首页>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
边栏推荐
- Realize QQ login with PHP
- Detailed explanation of distributed things
- Thoughts on the 2022 national network security competition of the national secondary vocational group (only one idea for myself) - network security competition questions (7)
- VirtualBox virtual machine (Oracle VM)
- ASP.NET 6 中间件系列 - 执行顺序
- tf. keras. layers. Conv? D function
- HLS / chisel practice CORDIC high performance computing complex square root
- L2-006 樹的遍曆(中後序確定二叉樹&層序遍曆)
- 《信息系统项目管理师总结》第七章 项目沟通管理
- [if you want to do a good job, you must first use its tools] Guide for downloading and using paper editing and document management (endnote, latex, jabref, overflow) resources
猜你喜欢
REINFORCE
[format] simple output (2)
Encapsulate components such as pull-down menu based on ele
Array and collection types passed by openfeign parameters
Linux redis - redis database caching service
Summary of interface automation interview questions for software testing
Service avalanche effect
Traversal of l2-006 tree (middle and later order determination binary tree & sequence traversal)
微软是如何解决 PC 端程序多开问题的
Introduction and use of openfeign component
随机推荐
AOT和单文件发布对程序性能的影响
Basic SQL (VIII) data update operation practice
Shell learning notes -- shell processing of output stream awk
腾讯视频涨价:一年多赚74亿!关注我领取腾讯VIP会员,周卡低至7元
[if you want to do a good job, you must first use its tools] Guide for downloading and using paper editing and document management (endnote, latex, jabref, overflow) resources
《信息系統項目管理師總結》第六章 項目人力資源管理
MySQL insert free column
REINFORCE
Niuke white moon race 6 [solution]
C# WPF UI框架MahApps切换主题
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.
Cloud computing learning 1 - openstack cloud computing installation and deployment steps with pictures and texts (Xiandian 2.2)
eventBus
Chapter IV project cost management of information system project manager summary
Chapter VI project information management system summary
Chapter V project quality management of information system project manager summary
最通俗易懂的依赖注入与控制反转
Some problems encountered in setting Django pure interface, channel and MySQL on the pagoda panel
PDH optical transceiver 4-way E1 + 4-way 100M Ethernet 4-way 2m optical transceiver FC single fiber 20km rack type
[Euler plan question 13] sum of large numbers