$sql = "select top 1 * from BIZ_PackageInfo where PAG_Code = ? "; //删除的也判断

ct-mobile-first
赵鹏 5 years ago
parent 5640587cc9
commit d0c0d43d86

@ -351,7 +351,8 @@ class TpBokun_model extends CI_Model
*/
function checkExitHT($PAG_Code)
{
$sql = "select top 1 * from BIZ_PackageInfo where PAG_Code = ? and isnull(DeleteFlag,0)<>1 ";
// $sql = "select top 1 * from BIZ_PackageInfo where PAG_Code = ? and isnull(DeleteFlag,0)<>1 ";
$sql = "select top 1 * from BIZ_PackageInfo where PAG_Code = ? "; //删除的也判断
$query = $this->HT229Write->query($sql, array($PAG_Code));
if ($query->num_rows() > 0) {
$result = true;

Loading…
Cancel
Save