|
@@ -618,7 +618,7 @@ class Api extends EnterpriseController {
|
|
|
$where[] = ["mainId", "=", $id];
|
|
|
$where[] = ["api", "=", "businessLicense"];
|
|
|
$where[] = ["active", "=", 1];
|
|
|
- $_uploadFile = TalentCommonFile::alias("tcf")->leftJoin("new_currency_filetype ft", "ft.id=tcf.typeId")->where($where)->order("createTime desc")->find();
|
|
|
+ $_uploadFile = TalentCommonFile::alias("tcf")->leftJoin("new_currency_filetype ft", "ft.id=tcf.typeId")->where($where)->order("tcf.createTime desc")->find();
|
|
|
if ($_uploadFile) {
|
|
|
$ecr["newImgurl"] = $_uploadFile["url"];
|
|
|
}
|
|
@@ -647,7 +647,7 @@ class Api extends EnterpriseController {
|
|
|
$where[] = ["mainId", "=", $id];
|
|
|
$where[] = ["api", "=", "businessBeian"];
|
|
|
$where[] = ["active", "=", 1];
|
|
|
- $_uploadFile = TalentCommonFile::alias("tcf")->leftJoin("new_currency_filetype ft", "ft.id=tcf.typeId")->where($where)->order("createTime desc")->find();
|
|
|
+ $_uploadFile = TalentCommonFile::alias("tcf")->leftJoin("new_currency_filetype ft", "ft.id=tcf.typeId")->where($where)->order("tcf.createTime desc")->find();
|
|
|
if ($_uploadFile) {
|
|
|
$ecr["newBeian"] = $_uploadFile["url"];
|
|
|
}
|
|
@@ -676,7 +676,7 @@ class Api extends EnterpriseController {
|
|
|
$where[] = ["mainId", "=", $id];
|
|
|
$where[] = ["api", "=", "businessDomain"];
|
|
|
$where[] = ["active", "=", 1];
|
|
|
- $_uploadFile = TalentCommonFile::alias("tcf")->leftJoin("new_currency_filetype ft", "ft.id=tcf.typeId")->where($where)->order("createTime desc")->find();
|
|
|
+ $_uploadFile = TalentCommonFile::alias("tcf")->leftJoin("new_currency_filetype ft", "ft.id=tcf.typeId")->where($where)->order("tcf.createTime desc")->find();
|
|
|
if ($_uploadFile) {
|
|
|
$ecr["newDomainImg"] = $_uploadFile["url"];
|
|
|
}
|
|
@@ -705,7 +705,7 @@ class Api extends EnterpriseController {
|
|
|
$where[] = ["mainId", "=", $id];
|
|
|
$where[] = ["api", "=", "businessBank"];
|
|
|
$where[] = ["active", "=", 1];
|
|
|
- $_uploadFile = TalentCommonFile::alias("tcf")->leftJoin("new_currency_filetype ft", "ft.id=tcf.typeId")->where($where)->order("createTime desc")->find();
|
|
|
+ $_uploadFile = TalentCommonFile::alias("tcf")->leftJoin("new_currency_filetype ft", "ft.id=tcf.typeId")->where($where)->order("tcf.createTime desc")->find();
|
|
|
if ($_uploadFile) {
|
|
|
$ecr["newBankImg"] = $_uploadFile["url"];
|
|
|
}
|