|
@@ -99,6 +99,7 @@ class TalentAllowanceApi {
|
|
|
public static function validateAllowanceType($id) {
|
|
|
$info = ["id" => $id];
|
|
|
$old = self::getInfoById($id);
|
|
|
+ $info["type"] = $old["type"];
|
|
|
$enterpriseMap = \app\common\model\Enterprise::where("type", $old["type"])->column("name", "id");
|
|
|
/* * 查询工作单位记录 */
|
|
|
$initDetailList = \app\common\model\TalentAllowancecontractDetail::where("mainId", $info["id"])->select()->toArray();
|