课程授权 __NzF8m1w2VgBroBTh0Rh __NzF8m1w2VgBroBTh0Rh 16 2048 1536 rollback 1623721863373 课程授权表 0 516 84 142 34 course_auth_base_info 1623721908988 授权课程名 0 248 222 142 34 authLessonName false 1623722053635 授权对象证件号码 0 484 225 142 34 authUserId false 1623722058115 授权对象名称 0 613 224 142 34 authUserName false 1623722062163 有效期 0 739 228 142 34 validityDate false 1623721863373 1623721908988 false false 248;222;515;88 1623722263443 1623721863373 1623722053635 false false 484;226;515;88 1623722270947 1623721863373 1623722058115 false false 613;224;515;88 1623722274331 1623721863373 1623722062163 false false 739;228;515;88 1623722277284 1623726742073 授权课程ID 0 365 226 142 34 authLessonId false (function(){ var authLessonId = getCurrentDocument().getItemValueAsString(@quot;authLessonId@quot;); var authUserId = getCurrentDocument().getItemValueAsString(@quot;authUserId@quot;); var sql = @quot;select *@quot;+ @quot;from tlk_course_auth_base_info a where ITEM_authLessonId = '@quot;+authLessonId+@quot;' and ITEM_authUserId = '@quot;+authUserId+@quot;'@quot; ; println(@quot;sql--------------------@quot;+sql); var datas = queryByDSName(@quot;tms@quot;,sql); println(@quot;datas-----------------------@quot;+datas); for(var iterator = datas.iterator();iterator.hasNext();){ var map1 = iterator.next();//取值 var id = map1.get(@quot;id@quot;); if(isNotNull(id)){ return @quot;该人员已授权该课程,上传失败@quot;; } } /*if(datas.size()@gt;0){ return } */ })() 1623721863373 1623726742073 false false 365;226;515;88 1623726766570 1623737675180 备注 0 851 227 142 34 remark false 1623721863373 1623737675180 false false 851;227;516;84 1623737706387 ]]> /uploads/exceltemplate/企业培训课程授权模板.xlsx