|
|
@ -351,7 +351,8 @@ class TpBokun_model extends CI_Model
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
function checkExitHT($PAG_Code)
|
|
|
|
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));
|
|
|
|
$query = $this->HT229Write->query($sql, array($PAG_Code));
|
|
|
|
if ($query->num_rows() > 0) {
|
|
|
|
if ($query->num_rows() > 0) {
|
|
|
|
$result = true;
|
|
|
|
$result = true;
|
|
|
|