|
@@ -629,6 +629,7 @@ class TalentAllowance extends EnterpriseController {
|
|
|
$where = [];
|
|
|
$where[] = ["type", "=", $old["type"]];
|
|
|
$where[] = ["project", "=", ProjectState::JBT];
|
|
|
+ $where[] = ["isConditionFile", "in", [0, $old["allowanceType"]]];
|
|
|
$where[] = ["active", "=", 1];
|
|
|
$where[] = ["delete", "=", 0];
|
|
|
$filetypes = Db::table("new_common_filetype")->where($where)->order("sn asc")->select()->toArray();
|