|
@@ -99,7 +99,7 @@ class EnterpriseChangeRecord extends AdminController {
|
|
|
$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"];
|
|
|
}
|
|
@@ -128,7 +128,7 @@ class EnterpriseChangeRecord extends AdminController {
|
|
|
$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"];
|
|
|
}
|
|
@@ -157,7 +157,7 @@ class EnterpriseChangeRecord extends AdminController {
|
|
|
$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"];
|
|
|
}
|
|
@@ -186,7 +186,7 @@ class EnterpriseChangeRecord extends AdminController {
|
|
|
$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"];
|
|
|
}
|