|
@@ -198,9 +198,13 @@ namespace db_card
|
|
|
std::shared_ptr<card_location_base> clb =
|
|
|
std::make_shared<person>(strategy,vsid,need_display,card_type_id,dept_id,occupation_level_id,staff_id,work_line,staffer_name,dept_name,worktype_id);
|
|
|
uint64_t cardid = tool_other::type_id_to_u64(card_type_id,vsid);
|
|
|
- log_info("cardId:%llu,id:%d dept_id:%d,need_display:%d,card:%s:work_line:%d,staff_id:%d,type:%d,staffer_name:%s,dept_name:%s",
|
|
|
- cardid,vsid,dept_id,need_display,card_id.c_str(),work_line,staff_id,card_type_id,staffer_name.c_str(),dept_name.c_str());
|
|
|
- map.insert({cardid,clb});
|
|
|
+ if ("" != lszId64)
|
|
|
+ {
|
|
|
+ log_info("Check Card.cardId:%llu,id:%d dept_id:%d,need_display:%d,card:%s:work_line:%d,staff_id:%d,type:%d,staffer_name:%s,dept_name:%s",
|
|
|
+ cardid, vsid, dept_id, need_display, card_id.c_str(), work_line, staff_id, card_type_id,
|
|
|
+ staffer_name.c_str(), dept_name.c_str());
|
|
|
+ }
|
|
|
+ map.insert({cardid,clb});
|
|
|
}
|
|
|
return map;
|
|
|
}
|