摘要:
//获取性别public static function idNoToSex($id_no, $type = 1) { if (empty($id_no)) { return 0; } $sex_int = (int)substr($id_no, 16, 1); if ($type == 1) { 阅读全文
摘要:
public static function jieExcelDate($date_str) { if (empty($date_str)) { return ""; } $data_type3 = gettype($date_str); if ($data_type3 == 'string') { 阅读全文
摘要:
function getLastSql() { DB::listen(function ($sql) { foreach ($sql->bindings as $i => $binding) { if ($binding instanceof \DateTime) { $sql->bindings[ 阅读全文
摘要:
public function timingApplyBorrow() { //截断表数据 YunUserBorrowList::truncate(); YunUserEntry::select('id', 'name', 'company_id', 'id_no', 'id_no')->chunk 阅读全文
摘要:
public function borrowList(Request $request) { $user_id = JwtAuth::getInstance()->getUid(); $limit = $request->input('limit', 20); $data_list = YunUse 阅读全文