学生签到日志

beetlsql3-dev
Mlxa0324 2 years ago
parent 09b4c3913d
commit ed18b5cbb9

File diff suppressed because it is too large Load Diff

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?PowerDesigner AppLocale="UTF16" ID="{BA33ABB7-B246-4DB0-85DE-396EDDB46458}" Label="" LastModificationDate="1665502798" Name="cjks" Objects="1100" Symbols="88" Target="MySQL 5.0" Type="{CDE44E21-9669-11D1-9914-006097355D9B}" signature="PDM_DATA_MODEL_XML" version="16.5.0.3982"?>
<?PowerDesigner AppLocale="UTF16" ID="{BA33ABB7-B246-4DB0-85DE-396EDDB46458}" Label="" LastModificationDate="1665566533" Name="cjks" Objects="1089" Symbols="88" Target="MySQL 5.0" Type="{CDE44E21-9669-11D1-9914-006097355D9B}" signature="PDM_DATA_MODEL_XML" version="16.5.0.3982"?>
<!-- do not edit this file -->
<Model xmlns:a="attribute" xmlns:c="collection" xmlns:o="object">
@ -4245,8 +4245,8 @@ Shadow=0</a:DisplayPreferences>
<o:ExtendedDependencySymbol Id="o12">
<a:CreationDate>1661955336</a:CreationDate>
<a:ModificationDate>1662048056</a:ModificationDate>
<a:Rect>((262886,18534), (282578,23328))</a:Rect>
<a:ListOfPoints>((262886,18534),(262886,23028),(282578,23028))</a:ListOfPoints>
<a:Rect>((262886,18534), (283315,23535))</a:Rect>
<a:ListOfPoints>((262886,18534),(262886,23235),(283315,23235))</a:ListOfPoints>
<a:CornerStyle>1</a:CornerStyle>
<a:ArrowStyle>8</a:ArrowStyle>
<a:LineColor>16744576</a:LineColor>
@ -4287,8 +4287,8 @@ Shadow=0</a:DisplayPreferences>
<o:ExtendedDependencySymbol Id="o19">
<a:CreationDate>1661960819</a:CreationDate>
<a:ModificationDate>1662647010</a:ModificationDate>
<a:Rect>((307473,27554), (308073,43046))</a:Rect>
<a:ListOfPoints>((307779,43046),(307788,35670),(307773,35670),(307773,27554))</a:ListOfPoints>
<a:Rect>((306801,27571), (307803,43052))</a:Rect>
<a:ListOfPoints>((307803,43052),(307803,35670),(307101,35670),(307101,27571))</a:ListOfPoints>
<a:CornerStyle>1</a:CornerStyle>
<a:ArrowStyle>8</a:ArrowStyle>
<a:LineColor>16744576</a:LineColor>
@ -4349,8 +4349,8 @@ Shadow=0</a:DisplayPreferences>
<o:ExtendedDependencySymbol Id="o29">
<a:CreationDate>1662020600</a:CreationDate>
<a:ModificationDate>1663511274</a:ModificationDate>
<a:Rect>((307940,-926), (328444,24981))</a:Rect>
<a:ListOfPoints>((328444,-926),(328444,11662),(308240,11662),(308240,24981))</a:ListOfPoints>
<a:Rect>((307242,-926), (328444,25106))</a:Rect>
<a:ListOfPoints>((328444,-926),(328444,11662),(307542,11662),(307542,25106))</a:ListOfPoints>
<a:CornerStyle>1</a:CornerStyle>
<a:ArrowStyle>8</a:ArrowStyle>
<a:LineColor>16744576</a:LineColor>
@ -4370,8 +4370,8 @@ Shadow=0</a:DisplayPreferences>
<o:ExtendedDependencySymbol Id="o32">
<a:CreationDate>1662046228</a:CreationDate>
<a:ModificationDate>1662647031</a:ModificationDate>
<a:Rect>((301722,-1243), (302322,27790))</a:Rect>
<a:ListOfPoints>((302023,-1243),(302023,15258),(302022,15258),(302022,27790))</a:ListOfPoints>
<a:Rect>((301371,-1243), (302023,27797))</a:Rect>
<a:ListOfPoints>((302023,-1243),(302023,15258),(301671,15258),(301671,27797))</a:ListOfPoints>
<a:CornerStyle>1</a:CornerStyle>
<a:ArrowStyle>8</a:ArrowStyle>
<a:LineColor>16744576</a:LineColor>
@ -4391,8 +4391,8 @@ Shadow=0</a:DisplayPreferences>
<o:ExtendedDependencySymbol Id="o35">
<a:CreationDate>1662047541</a:CreationDate>
<a:ModificationDate>1664863137</a:ModificationDate>
<a:Rect>((250779,30697), (296962,32209))</a:Rect>
<a:ListOfPoints>((250779,32209),(278057,32209),(278057,30997),(296962,30997))</a:ListOfPoints>
<a:Rect>((250779,30569), (296894,32209))</a:Rect>
<a:ListOfPoints>((250779,32209),(278057,32209),(278057,30869),(296894,30869))</a:ListOfPoints>
<a:CornerStyle>1</a:CornerStyle>
<a:ArrowStyle>8</a:ArrowStyle>
<a:LineColor>16744576</a:LineColor>
@ -4412,8 +4412,8 @@ Shadow=0</a:DisplayPreferences>
<o:ExtendedDependencySymbol Id="o38">
<a:CreationDate>1662048005</a:CreationDate>
<a:ModificationDate>1662048061</a:ModificationDate>
<a:Rect>((230014,25632), (295754,28276))</a:Rect>
<a:ListOfPoints>((230014,28276),(230014,25932),(295754,25932))</a:ListOfPoints>
<a:Rect>((230014,25717), (295754,28276))</a:Rect>
<a:ListOfPoints>((230014,28276),(230014,26017),(295754,26017))</a:ListOfPoints>
<a:CornerStyle>1</a:CornerStyle>
<a:ArrowStyle>8</a:ArrowStyle>
<a:LineColor>16744576</a:LineColor>
@ -4433,8 +4433,8 @@ Shadow=0</a:DisplayPreferences>
<o:ExtendedDependencySymbol Id="o41">
<a:CreationDate>1662647833</a:CreationDate>
<a:ModificationDate>1662647877</a:ModificationDate>
<a:Rect>((284541,14785), (285141,27625))</a:Rect>
<a:ListOfPoints>((284830,14785),(284830,20457),(284841,20457),(284841,27625))</a:ListOfPoints>
<a:Rect>((284830,14785), (285751,27639))</a:Rect>
<a:ListOfPoints>((284830,14785),(284830,20457),(285451,20457),(285451,27639))</a:ListOfPoints>
<a:CornerStyle>1</a:CornerStyle>
<a:ArrowStyle>8</a:ArrowStyle>
<a:LineColor>16744576</a:LineColor>
@ -4472,8 +4472,8 @@ Shadow=0</a:DisplayPreferences>
<o:ExtendedDependencySymbol Id="o47">
<a:CreationDate>1662810688</a:CreationDate>
<a:ModificationDate>1663748414</a:ModificationDate>
<a:Rect>((296402,28995), (338650,29922))</a:Rect>
<a:ListOfPoints>((338650,28995),(319044,28995),(319044,29622),(296402,29622))</a:ListOfPoints>
<a:Rect>((296366,28995), (338650,29852))</a:Rect>
<a:ListOfPoints>((338650,28995),(319044,28995),(319044,29552),(296366,29552))</a:ListOfPoints>
<a:CornerStyle>1</a:CornerStyle>
<a:ArrowStyle>8</a:ArrowStyle>
<a:LineColor>16744576</a:LineColor>
@ -4493,8 +4493,8 @@ Shadow=0</a:DisplayPreferences>
<o:ExtendedDependencySymbol Id="o49">
<a:CreationDate>1662865795</a:CreationDate>
<a:ModificationDate>1663518168</a:ModificationDate>
<a:Rect>((287322,15194), (337794,23674))</a:Rect>
<a:ListOfPoints>((337794,15194),(319320,15194),(319320,23374),(287322,23374))</a:ListOfPoints>
<a:Rect>((287794,15194), (337794,23866))</a:Rect>
<a:ListOfPoints>((337794,15194),(319320,15194),(319320,23566),(287794,23566))</a:ListOfPoints>
<a:CornerStyle>1</a:CornerStyle>
<a:ArrowStyle>8</a:ArrowStyle>
<a:LineColor>16744576</a:LineColor>
@ -4514,8 +4514,8 @@ Shadow=0</a:DisplayPreferences>
<o:ExtendedDependencySymbol Id="o52">
<a:CreationDate>1664451291</a:CreationDate>
<a:ModificationDate>1664451291</a:ModificationDate>
<a:Rect>((242130,17940), (285080,26940))</a:Rect>
<a:ListOfPoints>((242130,17940),(242130,26640),(285080,26640))</a:ListOfPoints>
<a:Rect>((241808,17898), (285677,26995))</a:Rect>
<a:ListOfPoints>((241808,17898),(241808,26695),(285677,26695))</a:ListOfPoints>
<a:CornerStyle>1</a:CornerStyle>
<a:ArrowStyle>8</a:ArrowStyle>
<a:LineColor>16744576</a:LineColor>
@ -4534,8 +4534,8 @@ Shadow=0</a:DisplayPreferences>
<o:ExtendedDependencySymbol Id="o55">
<a:CreationDate>1664451372</a:CreationDate>
<a:ModificationDate>1664451372</a:ModificationDate>
<a:Rect>((206635,6900), (234041,18540))</a:Rect>
<a:ListOfPoints>((206635,6900),(206635,18240),(234041,18240))</a:ListOfPoints>
<a:Rect>((206557,6841), (234162,18485))</a:Rect>
<a:ListOfPoints>((206557,6841),(206557,18185),(234162,18185))</a:ListOfPoints>
<a:CornerStyle>1</a:CornerStyle>
<a:ArrowStyle>8</a:ArrowStyle>
<a:LineColor>16744576</a:LineColor>
@ -4554,8 +4554,8 @@ Shadow=0</a:DisplayPreferences>
<o:ExtendedDependencySymbol Id="o58">
<a:CreationDate>1664453932</a:CreationDate>
<a:ModificationDate>1664453932</a:ModificationDate>
<a:Rect>((234392,-16131), (248070,15668))</a:Rect>
<a:ListOfPoints>((248070,-16131),(234692,-16131),(234692,15668))</a:ListOfPoints>
<a:Rect>((234477,-16251), (248093,15721))</a:Rect>
<a:ListOfPoints>((248093,-16251),(234777,-16251),(234777,15721))</a:ListOfPoints>
<a:CornerStyle>1</a:CornerStyle>
<a:ArrowStyle>8</a:ArrowStyle>
<a:LineColor>16744576</a:LineColor>
@ -4574,8 +4574,8 @@ Shadow=0</a:DisplayPreferences>
<o:ExtendedDependencySymbol Id="o61">
<a:CreationDate>1664461421</a:CreationDate>
<a:ModificationDate>1664461421</a:ModificationDate>
<a:Rect>((290924,-26780), (299893,-3621))</a:Rect>
<a:ListOfPoints>((290924,-26780),(290924,-10490),(299593,-10490),(299593,-3621))</a:ListOfPoints>
<a:Rect>((290809,-26815), (299893,-3621))</a:Rect>
<a:ListOfPoints>((290809,-26815),(290809,-10490),(299593,-10490),(299593,-3621))</a:ListOfPoints>
<a:CornerStyle>1</a:CornerStyle>
<a:ArrowStyle>8</a:ArrowStyle>
<a:LineColor>16744576</a:LineColor>
@ -4614,8 +4614,8 @@ Shadow=0</a:DisplayPreferences>
<o:ExtendedDependencySymbol Id="o68">
<a:CreationDate>1664952224</a:CreationDate>
<a:ModificationDate>1665501316</a:ModificationDate>
<a:Rect>((270308,32737), (286859,44757))</a:Rect>
<a:ListOfPoints>((270308,44757),(286559,44757),(286559,32737))</a:ListOfPoints>
<a:Rect>((270308,32536), (287373,44757))</a:Rect>
<a:ListOfPoints>((270308,44757),(287073,44757),(287073,32536))</a:ListOfPoints>
<a:CornerStyle>1</a:CornerStyle>
<a:ArrowStyle>8</a:ArrowStyle>
<a:LineColor>16744576</a:LineColor>
@ -4661,7 +4661,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623769937</a:CreationDate>
<a:ModificationDate>1662650462</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((-8991,11854), (6251,25350))</a:Rect>
<a:Rect>((-8585,12140), (5845,25064))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -4713,7 +4713,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623770338</a:CreationDate>
<a:ModificationDate>1662650462</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((-8943,-14307), (6299,89))</a:Rect>
<a:Rect>((-8537,-14000), (5893,-218))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -4817,7 +4817,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623828456</a:CreationDate>
<a:ModificationDate>1661907266</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((9127,1660), (34257,17856))</a:Rect>
<a:Rect>((9827,2008), (33557,17508))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -4842,7 +4842,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623828633</a:CreationDate>
<a:ModificationDate>1661907266</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((11359,-10357), (31133,-461))</a:Rect>
<a:Rect>((11900,-10153), (30592,-665))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -4867,7 +4867,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623828682</a:CreationDate>
<a:ModificationDate>1661907266</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((11126,-24326), (30900,-14430))</a:Rect>
<a:Rect>((11667,-24122), (30359,-14634))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -4892,7 +4892,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623828725</a:CreationDate>
<a:ModificationDate>1661907266</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((8951,-37056), (33669,-28060))</a:Rect>
<a:Rect>((9640,-36872), (32980,-28244))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -4917,7 +4917,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623828770</a:CreationDate>
<a:ModificationDate>1661907266</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((15161,18471), (33287,35567))</a:Rect>
<a:Rect>((15653,18839), (32795,35199))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -4942,7 +4942,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623840859</a:CreationDate>
<a:ModificationDate>1661907266</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((32811,-12234), (49289,2162))</a:Rect>
<a:Rect>((33254,-11927), (48846,1855))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -4967,7 +4967,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623841366</a:CreationDate>
<a:ModificationDate>1661907266</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((32688,-26863), (49166,-12467))</a:Rect>
<a:Rect>((33131,-26556), (48723,-12774))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -4992,7 +4992,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623842834</a:CreationDate>
<a:ModificationDate>1664366507</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((72859,37006), (95517,69402))</a:Rect>
<a:Rect>((73486,37723), (94890,68685))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -5042,7 +5042,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623845296</a:CreationDate>
<a:ModificationDate>1664366507</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((96498,38154), (114624,48050))</a:Rect>
<a:Rect>((96990,38358), (114132,47846))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -5092,7 +5092,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623859834</a:CreationDate>
<a:ModificationDate>1664366507</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((125882,37287), (145656,48083))</a:Rect>
<a:Rect>((126423,37512), (145115,47858))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -5144,7 +5144,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623860248</a:CreationDate>
<a:ModificationDate>1662449601</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((74033,-8788), (94219,8308))</a:Rect>
<a:Rect>((74587,-8420), (93665,7940))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -5169,7 +5169,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623860509</a:CreationDate>
<a:ModificationDate>1662971416</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((95068,-8538), (111134,7658))</a:Rect>
<a:Rect>((95498,-8190), (110704,7310))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -5194,7 +5194,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623861067</a:CreationDate>
<a:ModificationDate>1662971416</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((114086,8387), (139216,26383))</a:Rect>
<a:Rect>((114786,8776), (138516,25994))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -5219,7 +5219,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623861149</a:CreationDate>
<a:ModificationDate>1662971416</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((117064,-4663), (136838,6133))</a:Rect>
<a:Rect>((117605,-4438), (136297,5908))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -5244,7 +5244,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623861203</a:CreationDate>
<a:ModificationDate>1662449601</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((140686,-5055), (155516,8441))</a:Rect>
<a:Rect>((141079,-4769), (155123,8155))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -5269,7 +5269,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623861290</a:CreationDate>
<a:ModificationDate>1662971416</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((116764,-17563), (136538,-6767))</a:Rect>
<a:Rect>((117305,-17338), (135997,-6992))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -5321,7 +5321,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623862594</a:CreationDate>
<a:ModificationDate>1661907266</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((57665,-26488), (70023,-14792))</a:Rect>
<a:Rect>((57984,-26243), (69704,-15037))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -5346,7 +5346,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623862978</a:CreationDate>
<a:ModificationDate>1662650462</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((-36384,-12538), (-10018,958))</a:Rect>
<a:Rect>((-35647,-12252), (-10755,672))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -5371,7 +5371,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623863676</a:CreationDate>
<a:ModificationDate>1662650462</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((-43301,-23338), (-30943,-14342))</a:Rect>
<a:Rect>((-42982,-23154), (-31262,-14526))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -5396,7 +5396,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623864141</a:CreationDate>
<a:ModificationDate>1662650462</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((-29240,-23338), (-10290,-14342))</a:Rect>
<a:Rect>((-28723,-23154), (-10807,-14526))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -5421,7 +5421,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1623895431</a:CreationDate>
<a:ModificationDate>1662650462</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((-57115,-23188), (-44757,-14192))</a:Rect>
<a:Rect>((-56796,-23004), (-45076,-14376))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -5446,7 +5446,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1625926250</a:CreationDate>
<a:ModificationDate>1664366507</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((42885,28637), (66367,46633))</a:Rect>
<a:Rect>((43536,29026), (65716,46244))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -5496,7 +5496,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1628307450</a:CreationDate>
<a:ModificationDate>1662650462</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((-42551,-32668), (-31841,-25472))</a:Rect>
<a:Rect>((-42281,-32525), (-32111,-25615))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -5521,7 +5521,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1628307767</a:CreationDate>
<a:ModificationDate>1662650462</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((-29652,-35818), (-10290,-24122))</a:Rect>
<a:Rect>((-29124,-35573), (-10818,-24367))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -5546,7 +5546,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1628340137</a:CreationDate>
<a:ModificationDate>1661907266</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((37876,20648), (49674,26044))</a:Rect>
<a:Rect>((38210,20750), (49340,25942))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -5571,7 +5571,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1631242896</a:CreationDate>
<a:ModificationDate>1662650462</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((-7443,-35277), (4091,-26281))</a:Rect>
<a:Rect>((-7148,-35093), (3796,-26465))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -5596,7 +5596,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1631243538</a:CreationDate>
<a:ModificationDate>1662650462</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((-7368,-23577), (4166,-15481))</a:Rect>
<a:Rect>((-7073,-23414), (3871,-15644))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -5621,7 +5621,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1661850632</a:CreationDate>
<a:ModificationDate>1662449601</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((295843,50995), (320561,62691))</a:Rect>
<a:Rect>((296531,51240), (319873,62446))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -5673,7 +5673,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1661949359</a:CreationDate>
<a:ModificationDate>1662042403</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((282571,22110), (308937,33806))</a:Rect>
<a:Rect>((283308,22355), (308200,33561))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -5833,7 +5833,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1661960474</a:CreationDate>
<a:ModificationDate>1662042403</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((288839,37783), (327565,48579))</a:Rect>
<a:Rect>((289945,38008), (326459,48354))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -6263,7 +6263,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1663937886</a:CreationDate>
<a:ModificationDate>1663937955</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((37035,3002), (62165,20098))</a:Rect>
<a:Rect>((37735,3370), (61465,19730))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -6288,7 +6288,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1664366421</a:CreationDate>
<a:ModificationDate>1664451284</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((226157,11532), (246343,22329))</a:Rect>
<a:Rect>((226710,11757), (245790,22104))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -6313,7 +6313,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1664367261</a:CreationDate>
<a:ModificationDate>1664451269</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((240876,-26579), (256118,-11282))</a:Rect>
<a:Rect>((241282,-26251), (255712,-11610))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -6338,7 +6338,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1664368015</a:CreationDate>
<a:ModificationDate>1664451368</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((195328,-1671), (215102,12726))</a:Rect>
<a:Rect>((195869,-1364), (214561,12419))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -6363,7 +6363,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:CreationDate>1664460832</a:CreationDate>
<a:ModificationDate>1664461120</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((276899,-42870), (300793,-12273))</a:Rect>
<a:Rect>((277563,-42194), (300129,-12949))</a:Rect>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
<a:ShadowColor>12632256</a:ShadowColor>
@ -12958,12 +12958,12 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<c:Columns>
<o:Column Id="o665">
<a:ObjectID>0B4FF9FC-6D2C-47A1-BE74-32A6D3004FF6</a:ObjectID>
<a:Name>teacher_open_course_student_signin_id</a:Name>
<a:Code>teacher_open_course_student_signin_id</a:Code>
<a:Name>teacher_open_course_student_signin_log_id</a:Name>
<a:Code>teacher_open_course_student_signin_log_id</a:Code>
<a:CreationDate>1661850778</a:CreationDate>
<a:Creator>87966</a:Creator>
<a:ModificationDate>1661959745</a:ModificationDate>
<a:Modifier>lx</a:Modifier>
<a:ModificationDate>1665566533</a:ModificationDate>
<a:Modifier>87966</a:Modifier>
<a:Comment>ID</a:Comment>
<a:DataType>bigint</a:DataType>
<a:Column.Mandatory>1</a:Column.Mandatory>
@ -13002,47 +13002,47 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
</o:Column>
<o:Column Id="o669">
<a:ObjectID>09C0A591-331D-454B-BD9B-C8CA45971035</a:ObjectID>
<a:Name>teacher_open_course_student_signin_add_time</a:Name>
<a:Code>teacher_open_course_student_signin_add_time</a:Code>
<a:Name>teacher_open_course_student_signin_log_add_time</a:Name>
<a:Code>teacher_open_course_student_signin_log_add_time</a:Code>
<a:CreationDate>1661850778</a:CreationDate>
<a:Creator>87966</a:Creator>
<a:ModificationDate>1665501451</a:ModificationDate>
<a:Modifier>lx</a:Modifier>
<a:ModificationDate>1665566533</a:ModificationDate>
<a:Modifier>87966</a:Modifier>
<a:Comment>签到日期</a:Comment>
<a:DataType>datetime</a:DataType>
</o:Column>
<o:Column Id="o670">
<a:ObjectID>8D95C305-B131-45C7-BC7D-1D105D20DCD1</a:ObjectID>
<a:Name>teacher_open_course_student_signin_type</a:Name>
<a:Code>teacher_open_course_student_signin_type</a:Code>
<a:Name>teacher_open_course_student_signin_log_type</a:Name>
<a:Code>teacher_open_course_student_signin_log_type</a:Code>
<a:CreationDate>1661850778</a:CreationDate>
<a:Creator>87966</a:Creator>
<a:ModificationDate>1665501451</a:ModificationDate>
<a:Modifier>lx</a:Modifier>
<a:ModificationDate>1665566533</a:ModificationDate>
<a:Modifier>87966</a:Modifier>
<a:Comment>签到方式 (数据字典 student_signin_type)</a:Comment>
<a:DataType>varchar(50)</a:DataType>
<a:Length>50</a:Length>
</o:Column>
<o:Column Id="o671">
<a:ObjectID>6262B89D-5452-47CE-8B37-69F0794CB90D</a:ObjectID>
<a:Name>teacher_open_course_student_signin_remark</a:Name>
<a:Code>teacher_open_course_student_signin_remark</a:Code>
<a:Name>teacher_open_course_student_signin_log_remark</a:Name>
<a:Code>teacher_open_course_student_signin_log_remark</a:Code>
<a:CreationDate>1661851141</a:CreationDate>
<a:Creator>87966</a:Creator>
<a:ModificationDate>1665501451</a:ModificationDate>
<a:Modifier>lx</a:Modifier>
<a:ModificationDate>1665566533</a:ModificationDate>
<a:Modifier>87966</a:Modifier>
<a:Comment>备注(缺勤理由)</a:Comment>
<a:DataType>varchar(1000)</a:DataType>
<a:Length>1000</a:Length>
</o:Column>
<o:Column Id="o672">
<a:ObjectID>7B0D3A81-56C2-43C5-9EA7-3ADBE3B9AF71</a:ObjectID>
<a:Name>teacher_open_course_student_signin_ip</a:Name>
<a:Code>teacher_open_course_student_signin_ip</a:Code>
<a:Name>teacher_open_course_student_signin_log_ip</a:Name>
<a:Code>teacher_open_course_student_signin_log_ip</a:Code>
<a:CreationDate>1665501326</a:CreationDate>
<a:Creator>lx</a:Creator>
<a:ModificationDate>1665501451</a:ModificationDate>
<a:Modifier>lx</a:Modifier>
<a:ModificationDate>1665566533</a:ModificationDate>
<a:Modifier>87966</a:Modifier>
<a:Comment>签到的IP</a:Comment>
<a:DataType>varchar(50)</a:DataType>
<a:Length>50</a:Length>

@ -29197,17 +29197,17 @@ drop table if exists teacher_open_course_student_signin_log;
/*==============================================================*/
create table teacher_open_course_student_signin_log
(
teacher_open_course_student_signin_id bigint not null comment 'ID',
teacher_open_course_student_signin_log_id bigint not null comment 'ID',
student_id bigint comment '学生ID',
teacher_open_course_id bigint comment '开课ID',
school_class_id char(10) comment '班级ID',
teacher_open_course_student_signin_add_time datetime comment '签到日期',
teacher_open_course_student_signin_type varchar(50) comment '签到方式 (数据字典 student_signin_type)',
teacher_open_course_student_signin_remark varchar(1000) comment '备注(缺勤理由)',
teacher_open_course_student_signin_ip varchar(50) comment '签到的IP',
teacher_open_course_student_signin_log_add_time datetime comment '签到日期',
teacher_open_course_student_signin_log_type varchar(50) comment '签到方式 (数据字典 student_signin_type)',
teacher_open_course_student_signin_log_remark varchar(1000) comment '备注(缺勤理由)',
teacher_open_course_student_signin_log_ip varchar(50) comment '签到的IP',
org_id bigint comment '组织ID',
user_id bigint comment '用户ID',
primary key (teacher_open_course_student_signin_id)
primary key (teacher_open_course_student_signin_log_id)
)
auto_increment = 1
ENGINE = InnoDB

@ -10,7 +10,7 @@ import java.util.Date;
/*
* ---
* gen by Spring Boot2 Admin 2022-10-11
* gen by Spring Boot2 Admin 2022-10-12
*/
public class TeacherOpenCourseStudentSigninLog extends BaseEntity{
@ -19,7 +19,7 @@ public class TeacherOpenCourseStudentSigninLog extends BaseEntity{
// @SeqID(name = ORACLE_CORE_SEQ_NAME)
@AssignID(value = "maskAutoID",param = "com.ibeetl.jlw.entity.TeacherOpenCourseStudentSigninLog")
private Long teacherOpenCourseStudentSigninId ;
private Long teacherOpenCourseStudentSigninLogId ;
//学生ID
@Dict(type="student.student_name.student_status=1")
@ -38,20 +38,20 @@ public class TeacherOpenCourseStudentSigninLog extends BaseEntity{
//签到日期
private Date teacherOpenCourseStudentSigninAddTime ;
private Date teacherOpenCourseStudentSigninLogAddTime ;
//签到方式 (数据字典 student_signin_type)
@Dict(type="student_signin_type")
private String teacherOpenCourseStudentSigninType ;
private String teacherOpenCourseStudentSigninLogType ;
//备注(缺勤理由)
private String teacherOpenCourseStudentSigninRemark ;
private String teacherOpenCourseStudentSigninLogRemark ;
//签到的IP
private String teacherOpenCourseStudentSigninIp ;
private String teacherOpenCourseStudentSigninLogIp ;
//组织ID
@ -67,14 +67,14 @@ public class TeacherOpenCourseStudentSigninLog extends BaseEntity{
/**ID
*@return
*/
public Long getTeacherOpenCourseStudentSigninId(){
return teacherOpenCourseStudentSigninId;
public Long getTeacherOpenCourseStudentSigninLogId(){
return teacherOpenCourseStudentSigninLogId;
}
/**ID
*@param teacherOpenCourseStudentSigninId
*@param teacherOpenCourseStudentSigninLogId
*/
public void setTeacherOpenCourseStudentSigninId(Long teacherOpenCourseStudentSigninId){
this.teacherOpenCourseStudentSigninId = teacherOpenCourseStudentSigninId;
public void setTeacherOpenCourseStudentSigninLogId(Long teacherOpenCourseStudentSigninLogId){
this.teacherOpenCourseStudentSigninLogId = teacherOpenCourseStudentSigninLogId;
}
/**ID
@ -119,53 +119,53 @@ public class TeacherOpenCourseStudentSigninLog extends BaseEntity{
/**
*@return
*/
public Date getTeacherOpenCourseStudentSigninAddTime(){
return teacherOpenCourseStudentSigninAddTime;
public Date getTeacherOpenCourseStudentSigninLogAddTime(){
return teacherOpenCourseStudentSigninLogAddTime;
}
/**
*@param teacherOpenCourseStudentSigninAddTime
*@param teacherOpenCourseStudentSigninLogAddTime
*/
public void setTeacherOpenCourseStudentSigninAddTime(Date teacherOpenCourseStudentSigninAddTime){
this.teacherOpenCourseStudentSigninAddTime = teacherOpenCourseStudentSigninAddTime;
public void setTeacherOpenCourseStudentSigninLogAddTime(Date teacherOpenCourseStudentSigninLogAddTime){
this.teacherOpenCourseStudentSigninLogAddTime = teacherOpenCourseStudentSigninLogAddTime;
}
/** ( student_signin_type)
*@return
*/
public String getTeacherOpenCourseStudentSigninType(){
return teacherOpenCourseStudentSigninType;
public String getTeacherOpenCourseStudentSigninLogType(){
return teacherOpenCourseStudentSigninLogType;
}
/** ( student_signin_type)
*@param teacherOpenCourseStudentSigninType
*@param teacherOpenCourseStudentSigninLogType
*/
public void setTeacherOpenCourseStudentSigninType(String teacherOpenCourseStudentSigninType){
this.teacherOpenCourseStudentSigninType = teacherOpenCourseStudentSigninType;
public void setTeacherOpenCourseStudentSigninLogType(String teacherOpenCourseStudentSigninLogType){
this.teacherOpenCourseStudentSigninLogType = teacherOpenCourseStudentSigninLogType;
}
/**
*@return
*/
public String getTeacherOpenCourseStudentSigninRemark(){
return teacherOpenCourseStudentSigninRemark;
public String getTeacherOpenCourseStudentSigninLogRemark(){
return teacherOpenCourseStudentSigninLogRemark;
}
/**
*@param teacherOpenCourseStudentSigninRemark
*@param teacherOpenCourseStudentSigninLogRemark
*/
public void setTeacherOpenCourseStudentSigninRemark(String teacherOpenCourseStudentSigninRemark){
this.teacherOpenCourseStudentSigninRemark = teacherOpenCourseStudentSigninRemark;
public void setTeacherOpenCourseStudentSigninLogRemark(String teacherOpenCourseStudentSigninLogRemark){
this.teacherOpenCourseStudentSigninLogRemark = teacherOpenCourseStudentSigninLogRemark;
}
/**IP
*@return
*/
public String getTeacherOpenCourseStudentSigninIp(){
return teacherOpenCourseStudentSigninIp;
public String getTeacherOpenCourseStudentSigninLogIp(){
return teacherOpenCourseStudentSigninLogIp;
}
/**IP
*@param teacherOpenCourseStudentSigninIp
*@param teacherOpenCourseStudentSigninLogIp
*/
public void setTeacherOpenCourseStudentSigninIp(String teacherOpenCourseStudentSigninIp){
this.teacherOpenCourseStudentSigninIp = teacherOpenCourseStudentSigninIp;
public void setTeacherOpenCourseStudentSigninLogIp(String teacherOpenCourseStudentSigninLogIp){
this.teacherOpenCourseStudentSigninLogIp = teacherOpenCourseStudentSigninLogIp;
}
/**ID

@ -1,6 +1,10 @@
package com.ibeetl.jlw.entity.dto;
import lombok.Data;
import lombok.Getter;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
/**
* <p>
@ -14,14 +18,41 @@ import lombok.Data;
@Data
public class TeacherOpenCourseStudentSigninLogSigninDTO {
@NotEmpty(message = "签到配置ID不能为空")
// 签到配置ID
private String teacherOpenCourseStudentSigninSettingId;
@NotNull(message = "签到类型不能为空")
// 签到类型
private TeacherOpenCourseStudentSigninLogTypeEnum signinType;
private TeacherOpenCourseStudentSigninLogTypeEnum teacherOpenCourseStudentSigninLogType;
@NotEmpty(message = "签到验证码不能为空", groups = { CodeClass.class })
private String code;
@NotEmpty(message = "签到备注不能为空", groups = { ManualClass.class })
private String teacherOpenCourseStudentSigninLogRemark;
// 是否缺席
private Boolean isAbsent;
/**
*
*/
public enum TeacherOpenCourseStudentSigninLogTypeEnum {
// IP签到、手动签到、验证码签到
IP, MANUAL, CODE
ip_signin(IpClass.class), manual_signin(ManualClass.class), code_signin(CodeClass.class);
@Getter
private Class<?> clazz;
TeacherOpenCourseStudentSigninLogTypeEnum(Class<?> clazz) {
this.clazz = clazz;
}
}
public interface IpClass {}
public interface ManualClass {}
public interface CodeClass {}
}

@ -1,11 +1,11 @@
package com.ibeetl.jlw.service;
import cn.hutool.core.lang.Assert;
import cn.hutool.core.util.BooleanUtil;
import cn.hutool.extra.validation.BeanValidationResult;
import cn.hutool.extra.validation.ValidationUtil;
import cn.hutool.json.JSONUtil;
import cn.jlw.util.ToolUtils;
import cn.jlw.validate.ValidateConfig;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.ibeetl.admin.core.service.CoreBaseService;
@ -13,7 +13,9 @@ import com.ibeetl.admin.core.util.PlatformException;
import com.ibeetl.admin.core.web.JsonResult;
import com.ibeetl.admin.core.web.JsonReturnCode;
import com.ibeetl.jlw.dao.TeacherOpenCourseStudentSigninLogDao;
import com.ibeetl.jlw.dao.TeacherOpenCourseStudentSigninSettingDao;
import com.ibeetl.jlw.entity.TeacherOpenCourseStudentSigninLog;
import com.ibeetl.jlw.entity.TeacherOpenCourseStudentSigninSetting;
import com.ibeetl.jlw.entity.dto.TeacherOpenCourseStudentSigninLogSigninDTO;
import com.ibeetl.jlw.web.query.TeacherOpenCourseStudentSigninLogQuery;
import org.apache.commons.lang3.StringUtils;
@ -24,10 +26,13 @@ import org.springframework.transaction.annotation.Transactional;
import org.springframework.validation.annotation.Validated;
import javax.annotation.Resource;
import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import static cn.jlw.util.IpUtils.getIpAddr;
import static com.ibeetl.admin.core.util.servlet.ServletUtils.getRequest;
/**
* Service
* ID使insert(*,true)
@ -39,6 +44,7 @@ import java.util.List;
public class TeacherOpenCourseStudentSigninLogService extends CoreBaseService<TeacherOpenCourseStudentSigninLog>{
@Resource private TeacherOpenCourseStudentSigninLogDao teacherOpenCourseStudentSigninLogDao;
@Resource private TeacherOpenCourseStudentSigninSettingDao teacherOpenCourseStudentSigninSettingDao;
public PageQuery<TeacherOpenCourseStudentSigninLog>queryByCondition(PageQuery query){
PageQuery ret = teacherOpenCourseStudentSigninLogDao.queryByCondition(query);
@ -96,10 +102,11 @@ public class TeacherOpenCourseStudentSigninLogService extends CoreBaseService<Te
public JsonResult add(TeacherOpenCourseStudentSigninLogQuery teacherOpenCourseStudentSigninLogQuery){
String msg = "";
TeacherOpenCourseStudentSigninLog teacherOpenCourseStudentSigninLog = teacherOpenCourseStudentSigninLogQuery.pojo();
teacherOpenCourseStudentSigninLog.setTeacherOpenCourseStudentSigninLogAddTime(new Date());
teacherOpenCourseStudentSigninLogDao.insert(teacherOpenCourseStudentSigninLog);
teacherOpenCourseStudentSigninLogQuery.setTeacherOpenCourseStudentSigninId(teacherOpenCourseStudentSigninLog.getTeacherOpenCourseStudentSigninId());
teacherOpenCourseStudentSigninLogQuery.setTeacherOpenCourseStudentSigninLogId(teacherOpenCourseStudentSigninLog.getTeacherOpenCourseStudentSigninLogId());
JsonResult jsonResult = new JsonResult();
jsonResult.setData(teacherOpenCourseStudentSigninLog.getTeacherOpenCourseStudentSigninId());//自增的ID丢进去
jsonResult.setData(teacherOpenCourseStudentSigninLog.getTeacherOpenCourseStudentSigninLogId());//自增的ID丢进去
jsonResult.setCode(JsonReturnCode.SUCCESS.getCode());
jsonResult.setMsg(msg);
return jsonResult;
@ -137,9 +144,9 @@ public class TeacherOpenCourseStudentSigninLogService extends CoreBaseService<Te
return teacherOpenCourseStudentSigninLogDao.getValuesByQueryNotWithPermission(teacherOpenCourseStudentSigninLogQuery);
}
public TeacherOpenCourseStudentSigninLog getInfo (Long teacherOpenCourseStudentSigninId){
public TeacherOpenCourseStudentSigninLog getInfo (Long teacherOpenCourseStudentSigninLogId){
TeacherOpenCourseStudentSigninLogQuery teacherOpenCourseStudentSigninLogQuery = new TeacherOpenCourseStudentSigninLogQuery();
teacherOpenCourseStudentSigninLogQuery.setTeacherOpenCourseStudentSigninId(teacherOpenCourseStudentSigninId);
teacherOpenCourseStudentSigninLogQuery.setTeacherOpenCourseStudentSigninLogId(teacherOpenCourseStudentSigninLogId);
List<TeacherOpenCourseStudentSigninLog> list = teacherOpenCourseStudentSigninLogDao.getValuesByQuery(teacherOpenCourseStudentSigninLogQuery);
if(null != list && list.size()>0){
return list.get(0);
@ -157,10 +164,34 @@ public class TeacherOpenCourseStudentSigninLogService extends CoreBaseService<Te
}
}
public void signin(@NotNull(message="签到DTO不能为空") TeacherOpenCourseStudentSigninLogSigninDTO signinDTO) {
BeanValidationResult beanValidationResult = ValidationUtil.warpValidate(signinDTO, ValidateConfig.ADD.class);
/**
* -
* @param signinDTO
*/
public void signin(@Validated TeacherOpenCourseStudentSigninLogSigninDTO signinDTO) {
// 根据type类型 验证Bean
BeanValidationResult beanValidationResult = ValidationUtil.warpValidate(signinDTO, signinDTO.getTeacherOpenCourseStudentSigninLogType().getClazz());
Assert.isTrue(beanValidationResult.isSuccess(), JSONUtil.toJsonStr(beanValidationResult.getErrorMessages()));
// TODO mlx 签到实现方法
throw new PlatformException("签到方法未实现!");
List<TeacherOpenCourseStudentSigninSetting> settingList =
teacherOpenCourseStudentSigninSettingDao.getByIds(signinDTO.getTeacherOpenCourseStudentSigninSettingId());
Assert.notEmpty(settingList, "签到配置ID无效");
// 构建实体
TeacherOpenCourseStudentSigninLogQuery signinLogQuery = new TeacherOpenCourseStudentSigninLogQuery();
signinLogQuery.setTeacherOpenCourseId(settingList.get(0).getTeacherOpenCourseId());
signinLogQuery.setTeacherOpenCourseStudentSigninLogType(signinDTO.getTeacherOpenCourseStudentSigninLogType().name());
signinLogQuery.setTeacherOpenCourseStudentSigninLogIp(getIpAddr(getRequest()));
// 是否缺席
if(BooleanUtil.isTrue(signinDTO.getIsAbsent())) {
BeanValidationResult isAbsentValidationResult = ValidationUtil.warpValidate(signinDTO, TeacherOpenCourseStudentSigninLogSigninDTO.ManualClass.class);
Assert.isTrue(isAbsentValidationResult.isSuccess(), JSONUtil.toJsonStr(isAbsentValidationResult.getErrorMessages()));
signinLogQuery.setTeacherOpenCourseStudentSigninLogRemark(signinDTO.getTeacherOpenCourseStudentSigninLogRemark());
}
// 学生签到记录添加
add(signinLogQuery);
}
}

@ -91,19 +91,19 @@ public class TeacherOpenCourseStudentSigninLogController{
@GetMapping(MODEL + "/edit.do")
@Function("teacherOpenCourseStudentSigninLog.edit")
public ModelAndView edit(Long teacherOpenCourseStudentSigninId) {
public ModelAndView edit(Long teacherOpenCourseStudentSigninLogId) {
ModelAndView view = new ModelAndView("/jlw/teacherOpenCourseStudentSigninLog/edit.html");
TeacherOpenCourseStudentSigninLog teacherOpenCourseStudentSigninLog = teacherOpenCourseStudentSigninLogService.queryById(teacherOpenCourseStudentSigninId);
TeacherOpenCourseStudentSigninLog teacherOpenCourseStudentSigninLog = teacherOpenCourseStudentSigninLogService.queryById(teacherOpenCourseStudentSigninLogId);
view.addObject("teacherOpenCourseStudentSigninLog", teacherOpenCourseStudentSigninLog);
return view;
}
@GetMapping(MODEL + "/add.do")
@Function("teacherOpenCourseStudentSigninLog.add")
public ModelAndView add(Long teacherOpenCourseStudentSigninId) {
public ModelAndView add(Long teacherOpenCourseStudentSigninLogId) {
ModelAndView view = new ModelAndView("/jlw/teacherOpenCourseStudentSigninLog/add.html");
if(null != teacherOpenCourseStudentSigninId){
TeacherOpenCourseStudentSigninLog teacherOpenCourseStudentSigninLog = teacherOpenCourseStudentSigninLogService.queryById(teacherOpenCourseStudentSigninId);
if(null != teacherOpenCourseStudentSigninLogId){
TeacherOpenCourseStudentSigninLog teacherOpenCourseStudentSigninLog = teacherOpenCourseStudentSigninLogService.queryById(teacherOpenCourseStudentSigninLogId);
view.addObject("teacherOpenCourseStudentSigninLog", teacherOpenCourseStudentSigninLog);
}else {
view.addObject("teacherOpenCourseStudentSigninLog", new TeacherOpenCourseStudentSigninLog());
@ -170,8 +170,8 @@ public class TeacherOpenCourseStudentSigninLogController{
@GetMapping(MODEL + "/view.json")
@Function("teacherOpenCourseStudentSigninLog.query")
public JsonResult<TeacherOpenCourseStudentSigninLog>queryInfo(Long teacherOpenCourseStudentSigninId) {
TeacherOpenCourseStudentSigninLog teacherOpenCourseStudentSigninLog = teacherOpenCourseStudentSigninLogService.queryById( teacherOpenCourseStudentSigninId);
public JsonResult<TeacherOpenCourseStudentSigninLog>queryInfo(Long teacherOpenCourseStudentSigninLogId) {
TeacherOpenCourseStudentSigninLog teacherOpenCourseStudentSigninLog = teacherOpenCourseStudentSigninLogService.queryById( teacherOpenCourseStudentSigninLogId);
return JsonResult.success(teacherOpenCourseStudentSigninLog);
}

@ -14,7 +14,7 @@ import java.util.Date;
public class TeacherOpenCourseStudentSigninLogQuery extends PageParam {
@NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
@Query(name = "ID", display = false)
private Long teacherOpenCourseStudentSigninId;
private Long teacherOpenCourseStudentSigninLogId;
@Query(name = "学生ID", display = true,type=Query.TYPE_DICT,dict="student.student_name.student_status=1")
private Long studentId;
@Query(name = "开课ID", display = true,type=Query.TYPE_DICT,dict="teacher_open_course.teacher_open_course_title.teacher_open_course_status=1")
@ -22,19 +22,19 @@ public class TeacherOpenCourseStudentSigninLogQuery extends PageParam {
@Query(name = "班级ID", display = true,type=Query.TYPE_DICT,dict="school_class.class_name.class_status=1")
private String schoolClassId;
@Query(name = "签到日期", display = false)
private Date teacherOpenCourseStudentSigninAddTime;
private Date teacherOpenCourseStudentSigninLogAddTime;
@Query(name = "签到方式 (数据字典 student_signin_type)", display = true,type=Query.TYPE_DICT,dict="student_signin_type")
private String teacherOpenCourseStudentSigninType;
private String teacherOpenCourseStudentSigninLogType;
@Query(name = "备注(缺勤理由)", display = false)
private String teacherOpenCourseStudentSigninRemark;
private String teacherOpenCourseStudentSigninLogRemark;
@Query(name = "签到的IP", display = false)
private String teacherOpenCourseStudentSigninIp;
private String teacherOpenCourseStudentSigninLogIp;
@Query(name = "组织ID", display = false)
private Long orgId;
@Query(name = "用户ID", display = false)
private Long userId;
private String teacherOpenCourseStudentSigninIdPlural;
private String teacherOpenCourseStudentSigninLogIdPlural;
private String studentIdPlural;
private String teacherOpenCourseIdPlural;
private String orgIdPlural;
@ -44,11 +44,11 @@ public class TeacherOpenCourseStudentSigninLogQuery extends PageParam {
private String _given;//指定更新的特定字段,多个逗号隔开
public Long getTeacherOpenCourseStudentSigninId(){
return teacherOpenCourseStudentSigninId;
public Long getTeacherOpenCourseStudentSigninLogId(){
return teacherOpenCourseStudentSigninLogId;
}
public void setTeacherOpenCourseStudentSigninId(Long teacherOpenCourseStudentSigninId ){
this.teacherOpenCourseStudentSigninId = teacherOpenCourseStudentSigninId;
public void setTeacherOpenCourseStudentSigninLogId(Long teacherOpenCourseStudentSigninLogId ){
this.teacherOpenCourseStudentSigninLogId = teacherOpenCourseStudentSigninLogId;
}
public Long getStudentId(){
return studentId;
@ -68,29 +68,29 @@ public class TeacherOpenCourseStudentSigninLogQuery extends PageParam {
public void setSchoolClassId(String schoolClassId ){
this.schoolClassId = schoolClassId;
}
public Date getTeacherOpenCourseStudentSigninAddTime(){
return teacherOpenCourseStudentSigninAddTime;
public Date getTeacherOpenCourseStudentSigninLogAddTime(){
return teacherOpenCourseStudentSigninLogAddTime;
}
public void setTeacherOpenCourseStudentSigninAddTime(Date teacherOpenCourseStudentSigninAddTime ){
this.teacherOpenCourseStudentSigninAddTime = teacherOpenCourseStudentSigninAddTime;
public void setTeacherOpenCourseStudentSigninLogAddTime(Date teacherOpenCourseStudentSigninLogAddTime ){
this.teacherOpenCourseStudentSigninLogAddTime = teacherOpenCourseStudentSigninLogAddTime;
}
public String getTeacherOpenCourseStudentSigninType(){
return teacherOpenCourseStudentSigninType;
public String getTeacherOpenCourseStudentSigninLogType(){
return teacherOpenCourseStudentSigninLogType;
}
public void setTeacherOpenCourseStudentSigninType(String teacherOpenCourseStudentSigninType ){
this.teacherOpenCourseStudentSigninType = teacherOpenCourseStudentSigninType;
public void setTeacherOpenCourseStudentSigninLogType(String teacherOpenCourseStudentSigninLogType ){
this.teacherOpenCourseStudentSigninLogType = teacherOpenCourseStudentSigninLogType;
}
public String getTeacherOpenCourseStudentSigninRemark(){
return teacherOpenCourseStudentSigninRemark;
public String getTeacherOpenCourseStudentSigninLogRemark(){
return teacherOpenCourseStudentSigninLogRemark;
}
public void setTeacherOpenCourseStudentSigninRemark(String teacherOpenCourseStudentSigninRemark ){
this.teacherOpenCourseStudentSigninRemark = teacherOpenCourseStudentSigninRemark;
public void setTeacherOpenCourseStudentSigninLogRemark(String teacherOpenCourseStudentSigninLogRemark ){
this.teacherOpenCourseStudentSigninLogRemark = teacherOpenCourseStudentSigninLogRemark;
}
public String getTeacherOpenCourseStudentSigninIp(){
return teacherOpenCourseStudentSigninIp;
public String getTeacherOpenCourseStudentSigninLogIp(){
return teacherOpenCourseStudentSigninLogIp;
}
public void setTeacherOpenCourseStudentSigninIp(String teacherOpenCourseStudentSigninIp ){
this.teacherOpenCourseStudentSigninIp = teacherOpenCourseStudentSigninIp;
public void setTeacherOpenCourseStudentSigninLogIp(String teacherOpenCourseStudentSigninLogIp ){
this.teacherOpenCourseStudentSigninLogIp = teacherOpenCourseStudentSigninLogIp;
}
public Long getOrgId(){
return orgId;
@ -107,24 +107,24 @@ public class TeacherOpenCourseStudentSigninLogQuery extends PageParam {
public TeacherOpenCourseStudentSigninLog pojo(){
TeacherOpenCourseStudentSigninLog pojo = new TeacherOpenCourseStudentSigninLog();
pojo.setTeacherOpenCourseStudentSigninId(this.getTeacherOpenCourseStudentSigninId());
pojo.setTeacherOpenCourseStudentSigninLogId(this.getTeacherOpenCourseStudentSigninLogId());
pojo.setStudentId(this.getStudentId());
pojo.setTeacherOpenCourseId(this.getTeacherOpenCourseId());
pojo.setSchoolClassId(this.getSchoolClassId());
pojo.setTeacherOpenCourseStudentSigninAddTime(this.getTeacherOpenCourseStudentSigninAddTime());
pojo.setTeacherOpenCourseStudentSigninType(this.getTeacherOpenCourseStudentSigninType());
pojo.setTeacherOpenCourseStudentSigninRemark(this.getTeacherOpenCourseStudentSigninRemark());
pojo.setTeacherOpenCourseStudentSigninIp(this.getTeacherOpenCourseStudentSigninIp());
pojo.setTeacherOpenCourseStudentSigninLogAddTime(this.getTeacherOpenCourseStudentSigninLogAddTime());
pojo.setTeacherOpenCourseStudentSigninLogType(this.getTeacherOpenCourseStudentSigninLogType());
pojo.setTeacherOpenCourseStudentSigninLogRemark(this.getTeacherOpenCourseStudentSigninLogRemark());
pojo.setTeacherOpenCourseStudentSigninLogIp(this.getTeacherOpenCourseStudentSigninLogIp());
pojo.setOrgId(this.getOrgId());
pojo.setUserId(this.getUserId());
return pojo;
}
public String getTeacherOpenCourseStudentSigninIdPlural(){
return teacherOpenCourseStudentSigninIdPlural;
public String getTeacherOpenCourseStudentSigninLogIdPlural(){
return teacherOpenCourseStudentSigninLogIdPlural;
}
public void setTeacherOpenCourseStudentSigninIdPlural(String teacherOpenCourseStudentSigninIdPlural){
this.teacherOpenCourseStudentSigninIdPlural = teacherOpenCourseStudentSigninIdPlural;
public void setTeacherOpenCourseStudentSigninLogIdPlural(String teacherOpenCourseStudentSigninLogIdPlural){
this.teacherOpenCourseStudentSigninLogIdPlural = teacherOpenCourseStudentSigninLogIdPlural;
}
public String getStudentIdPlural(){
return studentIdPlural;

@ -10,11 +10,11 @@ queryByCondition
where 1=1
@//数据权限该sql语句功能点,如果不考虑数据权限,可以删除此行
and #function("teacherOpenCourseStudentSigninLog.query")#
@if(!isEmpty(teacherOpenCourseStudentSigninId)){
and t.teacher_open_course_student_signin_id =#teacherOpenCourseStudentSigninId#
@if(!isEmpty(teacherOpenCourseStudentSigninLogId)){
and t.teacher_open_course_student_signin_log_id =#teacherOpenCourseStudentSigninLogId#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninIdPlural)){
and find_in_set(t.teacher_open_course_student_signin_id,#teacherOpenCourseStudentSigninIdPlural#)
@if(!isEmpty(teacherOpenCourseStudentSigninLogIdPlural)){
and find_in_set(t.teacher_open_course_student_signin_log_id,#teacherOpenCourseStudentSigninLogIdPlural#)
@}
@if(!isEmpty(studentId)){
and t.student_id =#studentId#
@ -31,17 +31,17 @@ queryByCondition
@if(!isEmpty(schoolClassId)){
and t.school_class_id =#schoolClassId#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninAddTime)){
and t.teacher_open_course_student_signin_add_time =#teacherOpenCourseStudentSigninAddTime#
@if(!isEmpty(teacherOpenCourseStudentSigninLogAddTime)){
and t.teacher_open_course_student_signin_log_add_time =#teacherOpenCourseStudentSigninLogAddTime#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninType)){
and t.teacher_open_course_student_signin_type =#teacherOpenCourseStudentSigninType#
@if(!isEmpty(teacherOpenCourseStudentSigninLogType)){
and t.teacher_open_course_student_signin_log_type =#teacherOpenCourseStudentSigninLogType#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninRemark)){
and t.teacher_open_course_student_signin_remark =#teacherOpenCourseStudentSigninRemark#
@if(!isEmpty(teacherOpenCourseStudentSigninLogRemark)){
and t.teacher_open_course_student_signin_log_remark =#teacherOpenCourseStudentSigninLogRemark#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninIp)){
and t.teacher_open_course_student_signin_ip =#teacherOpenCourseStudentSigninIp#
@if(!isEmpty(teacherOpenCourseStudentSigninLogIp)){
and t.teacher_open_course_student_signin_log_ip =#teacherOpenCourseStudentSigninLogIp#
@}
@if(!isEmpty(orgId)){
and t.org_id =#orgId#
@ -67,11 +67,11 @@ queryByConditionQuery
@}
from teacher_open_course_student_signin_log t
where 1=1
@if(!isEmpty(teacherOpenCourseStudentSigninId)){
and t.teacher_open_course_student_signin_id =#teacherOpenCourseStudentSigninId#
@if(!isEmpty(teacherOpenCourseStudentSigninLogId)){
and t.teacher_open_course_student_signin_log_id =#teacherOpenCourseStudentSigninLogId#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninIdPlural)){
and find_in_set(t.teacher_open_course_student_signin_id,#teacherOpenCourseStudentSigninIdPlural#)
@if(!isEmpty(teacherOpenCourseStudentSigninLogIdPlural)){
and find_in_set(t.teacher_open_course_student_signin_log_id,#teacherOpenCourseStudentSigninLogIdPlural#)
@}
@if(!isEmpty(studentId)){
and t.student_id =#studentId#
@ -88,17 +88,17 @@ queryByConditionQuery
@if(!isEmpty(schoolClassId)){
and t.school_class_id =#schoolClassId#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninAddTime)){
and t.teacher_open_course_student_signin_add_time =#teacherOpenCourseStudentSigninAddTime#
@if(!isEmpty(teacherOpenCourseStudentSigninLogAddTime)){
and t.teacher_open_course_student_signin_log_add_time =#teacherOpenCourseStudentSigninLogAddTime#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninType)){
and t.teacher_open_course_student_signin_type =#teacherOpenCourseStudentSigninType#
@if(!isEmpty(teacherOpenCourseStudentSigninLogType)){
and t.teacher_open_course_student_signin_log_type =#teacherOpenCourseStudentSigninLogType#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninRemark)){
and t.teacher_open_course_student_signin_remark =#teacherOpenCourseStudentSigninRemark#
@if(!isEmpty(teacherOpenCourseStudentSigninLogRemark)){
and t.teacher_open_course_student_signin_log_remark =#teacherOpenCourseStudentSigninLogRemark#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninIp)){
and t.teacher_open_course_student_signin_ip =#teacherOpenCourseStudentSigninIp#
@if(!isEmpty(teacherOpenCourseStudentSigninLogIp)){
and t.teacher_open_course_student_signin_log_ip =#teacherOpenCourseStudentSigninLogIp#
@}
@if(!isEmpty(orgId)){
and t.org_id =#orgId#
@ -121,14 +121,14 @@ deleteTeacherOpenCourseStudentSigninLogByIds
* 批量删除
delete from teacher_open_course_student_signin_log where find_in_set(teacher_open_course_student_signin_id,#ids#)
delete from teacher_open_course_student_signin_log where find_in_set(teacher_open_course_student_signin_log_id,#ids#)
getByIds
===
select * from teacher_open_course_student_signin_log where find_in_set(teacher_open_course_student_signin_id,#ids#)
select * from teacher_open_course_student_signin_log where find_in_set(teacher_open_course_student_signin_log_id,#ids#)
updateGivenByIds
@ -159,32 +159,32 @@ updateGivenByIds
school_class_id = #schoolClassId# ,
@}
@}
@if(contain("teacherOpenCourseStudentSigninAddTime",_given)){
@if(isEmpty(teacherOpenCourseStudentSigninAddTime)){
teacher_open_course_student_signin_add_time = null ,
@if(contain("teacherOpenCourseStudentSigninLogAddTime",_given)){
@if(isEmpty(teacherOpenCourseStudentSigninLogAddTime)){
teacher_open_course_student_signin_log_add_time = null ,
@}else{
teacher_open_course_student_signin_add_time = #teacherOpenCourseStudentSigninAddTime# ,
teacher_open_course_student_signin_log_add_time = #teacherOpenCourseStudentSigninLogAddTime# ,
@}
@}
@if(contain("teacherOpenCourseStudentSigninType",_given)){
@if(isEmpty(teacherOpenCourseStudentSigninType)){
teacher_open_course_student_signin_type = null ,
@if(contain("teacherOpenCourseStudentSigninLogType",_given)){
@if(isEmpty(teacherOpenCourseStudentSigninLogType)){
teacher_open_course_student_signin_log_type = null ,
@}else{
teacher_open_course_student_signin_type = #teacherOpenCourseStudentSigninType# ,
teacher_open_course_student_signin_log_type = #teacherOpenCourseStudentSigninLogType# ,
@}
@}
@if(contain("teacherOpenCourseStudentSigninRemark",_given)){
@if(isEmpty(teacherOpenCourseStudentSigninRemark)){
teacher_open_course_student_signin_remark = null ,
@if(contain("teacherOpenCourseStudentSigninLogRemark",_given)){
@if(isEmpty(teacherOpenCourseStudentSigninLogRemark)){
teacher_open_course_student_signin_log_remark = null ,
@}else{
teacher_open_course_student_signin_remark = #teacherOpenCourseStudentSigninRemark# ,
teacher_open_course_student_signin_log_remark = #teacherOpenCourseStudentSigninLogRemark# ,
@}
@}
@if(contain("teacherOpenCourseStudentSigninIp",_given)){
@if(isEmpty(teacherOpenCourseStudentSigninIp)){
teacher_open_course_student_signin_ip = null ,
@if(contain("teacherOpenCourseStudentSigninLogIp",_given)){
@if(isEmpty(teacherOpenCourseStudentSigninLogIp)){
teacher_open_course_student_signin_log_ip = null ,
@}else{
teacher_open_course_student_signin_ip = #teacherOpenCourseStudentSigninIp# ,
teacher_open_course_student_signin_log_ip = #teacherOpenCourseStudentSigninLogIp# ,
@}
@}
@if(contain("orgId",_given)){
@ -201,8 +201,8 @@ updateGivenByIds
user_id = #userId# ,
@}
@}
teacher_open_course_student_signin_id = teacher_open_course_student_signin_id
where find_in_set(teacher_open_course_student_signin_id,#teacherOpenCourseStudentSigninIdPlural#)
teacher_open_course_student_signin_log_id = teacher_open_course_student_signin_log_id
where find_in_set(teacher_open_course_student_signin_log_id,#teacherOpenCourseStudentSigninLogIdPlural#)
@ -214,8 +214,8 @@ getTeacherOpenCourseStudentSigninLogValues
select t.*
from teacher_open_course_student_signin_log t
where 1=1
@if(!isEmpty(teacherOpenCourseStudentSigninId)){
and t.teacher_open_course_student_signin_id =#teacherOpenCourseStudentSigninId#
@if(!isEmpty(teacherOpenCourseStudentSigninLogId)){
and t.teacher_open_course_student_signin_log_id =#teacherOpenCourseStudentSigninLogId#
@}
@if(!isEmpty(studentId)){
and t.student_id =#studentId#
@ -226,17 +226,17 @@ getTeacherOpenCourseStudentSigninLogValues
@if(!isEmpty(schoolClassId)){
and t.school_class_id =#schoolClassId#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninAddTime)){
and t.teacher_open_course_student_signin_add_time =#teacherOpenCourseStudentSigninAddTime#
@if(!isEmpty(teacherOpenCourseStudentSigninLogAddTime)){
and t.teacher_open_course_student_signin_log_add_time =#teacherOpenCourseStudentSigninLogAddTime#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninType)){
and t.teacher_open_course_student_signin_type =#teacherOpenCourseStudentSigninType#
@if(!isEmpty(teacherOpenCourseStudentSigninLogType)){
and t.teacher_open_course_student_signin_log_type =#teacherOpenCourseStudentSigninLogType#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninRemark)){
and t.teacher_open_course_student_signin_remark =#teacherOpenCourseStudentSigninRemark#
@if(!isEmpty(teacherOpenCourseStudentSigninLogRemark)){
and t.teacher_open_course_student_signin_log_remark =#teacherOpenCourseStudentSigninLogRemark#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninIp)){
and t.teacher_open_course_student_signin_ip =#teacherOpenCourseStudentSigninIp#
@if(!isEmpty(teacherOpenCourseStudentSigninLogIp)){
and t.teacher_open_course_student_signin_log_ip =#teacherOpenCourseStudentSigninLogIp#
@}
@if(!isEmpty(orgId)){
and t.org_id =#orgId#
@ -254,11 +254,11 @@ getValuesByQuery
select t.*
from teacher_open_course_student_signin_log t
where 1=1 and #function("teacherOpenCourseStudentSigninLog.query")#
@if(!isEmpty(teacherOpenCourseStudentSigninId)){
and t.teacher_open_course_student_signin_id =#teacherOpenCourseStudentSigninId#
@if(!isEmpty(teacherOpenCourseStudentSigninLogId)){
and t.teacher_open_course_student_signin_log_id =#teacherOpenCourseStudentSigninLogId#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninIdPlural)){
and find_in_set(t.teacher_open_course_student_signin_id,#teacherOpenCourseStudentSigninIdPlural#)
@if(!isEmpty(teacherOpenCourseStudentSigninLogIdPlural)){
and find_in_set(t.teacher_open_course_student_signin_log_id,#teacherOpenCourseStudentSigninLogIdPlural#)
@}
@if(!isEmpty(studentId)){
and t.student_id =#studentId#
@ -275,17 +275,17 @@ getValuesByQuery
@if(!isEmpty(schoolClassId)){
and t.school_class_id =#schoolClassId#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninAddTime)){
and t.teacher_open_course_student_signin_add_time =#teacherOpenCourseStudentSigninAddTime#
@if(!isEmpty(teacherOpenCourseStudentSigninLogAddTime)){
and t.teacher_open_course_student_signin_log_add_time =#teacherOpenCourseStudentSigninLogAddTime#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninType)){
and t.teacher_open_course_student_signin_type =#teacherOpenCourseStudentSigninType#
@if(!isEmpty(teacherOpenCourseStudentSigninLogType)){
and t.teacher_open_course_student_signin_log_type =#teacherOpenCourseStudentSigninLogType#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninRemark)){
and t.teacher_open_course_student_signin_remark =#teacherOpenCourseStudentSigninRemark#
@if(!isEmpty(teacherOpenCourseStudentSigninLogRemark)){
and t.teacher_open_course_student_signin_log_remark =#teacherOpenCourseStudentSigninLogRemark#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninIp)){
and t.teacher_open_course_student_signin_ip =#teacherOpenCourseStudentSigninIp#
@if(!isEmpty(teacherOpenCourseStudentSigninLogIp)){
and t.teacher_open_course_student_signin_log_ip =#teacherOpenCourseStudentSigninLogIp#
@}
@if(!isEmpty(orgId)){
and t.org_id =#orgId#
@ -309,11 +309,11 @@ getValuesByQueryNotWithPermission
select t.*
from teacher_open_course_student_signin_log t
where 1=1
@if(!isEmpty(teacherOpenCourseStudentSigninId)){
and t.teacher_open_course_student_signin_id =#teacherOpenCourseStudentSigninId#
@if(!isEmpty(teacherOpenCourseStudentSigninLogId)){
and t.teacher_open_course_student_signin_log_id =#teacherOpenCourseStudentSigninLogId#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninIdPlural)){
and find_in_set(t.teacher_open_course_student_signin_id,#teacherOpenCourseStudentSigninIdPlural#)
@if(!isEmpty(teacherOpenCourseStudentSigninLogIdPlural)){
and find_in_set(t.teacher_open_course_student_signin_log_id,#teacherOpenCourseStudentSigninLogIdPlural#)
@}
@if(!isEmpty(studentId)){
and t.student_id =#studentId#
@ -330,17 +330,17 @@ getValuesByQueryNotWithPermission
@if(!isEmpty(schoolClassId)){
and t.school_class_id =#schoolClassId#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninAddTime)){
and t.teacher_open_course_student_signin_add_time =#teacherOpenCourseStudentSigninAddTime#
@if(!isEmpty(teacherOpenCourseStudentSigninLogAddTime)){
and t.teacher_open_course_student_signin_log_add_time =#teacherOpenCourseStudentSigninLogAddTime#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninType)){
and t.teacher_open_course_student_signin_type =#teacherOpenCourseStudentSigninType#
@if(!isEmpty(teacherOpenCourseStudentSigninLogType)){
and t.teacher_open_course_student_signin_log_type =#teacherOpenCourseStudentSigninLogType#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninRemark)){
and t.teacher_open_course_student_signin_remark =#teacherOpenCourseStudentSigninRemark#
@if(!isEmpty(teacherOpenCourseStudentSigninLogRemark)){
and t.teacher_open_course_student_signin_log_remark =#teacherOpenCourseStudentSigninLogRemark#
@}
@if(!isEmpty(teacherOpenCourseStudentSigninIp)){
and t.teacher_open_course_student_signin_ip =#teacherOpenCourseStudentSigninIp#
@if(!isEmpty(teacherOpenCourseStudentSigninLogIp)){
and t.teacher_open_course_student_signin_log_ip =#teacherOpenCourseStudentSigninLogIp#
@}
@if(!isEmpty(orgId)){
and t.org_id =#orgId#

@ -10,8 +10,8 @@ layui.define([ 'form', 'laydate', 'table','teacherOpenCourseStudentSigninLogApi'
initSubmit:function(){
$("#addButton").click(function(){
form.on('submit(form)', function(){
var teacherOpenCourseStudentSigninId = $("#addForm input[name='teacherOpenCourseStudentSigninId']").val();
if(!$.isEmpty(teacherOpenCourseStudentSigninId)){
var teacherOpenCourseStudentSigninLogId = $("#addForm input[name='teacherOpenCourseStudentSigninLogId']").val();
if(!$.isEmpty(teacherOpenCourseStudentSigninLogId)){
teacherOpenCourseStudentSigninLogApi.updateTeacherOpenCourseStudentSigninLog($('#addForm'),function(){
parent.window.dataReload();
Common.info("更新成功");

@ -10,7 +10,7 @@ layui.define(['table', 'teacherOpenCourseStudentSigninLogApi'], function(exports
return ;
}
Common.openConfirm("确认要删除这些学生签到记录?",function(){
var ids =Common.concatBatchId(data,"teacherOpenCourseStudentSigninId");
var ids =Common.concatBatchId(data,"teacherOpenCourseStudentSigninLogId");
teacherOpenCourseStudentSigninLogApi.del(ids,function(){
Common.info("删除成功");
dataReload();

@ -33,11 +33,11 @@ layui.define([ 'form', 'laydate', 'table' ], function(exports) {
},
{
field : 'teacherOpenCourseStudentSigninId',
field : 'teacherOpenCourseStudentSigninLogId',
title : 'ID',
align:"center",
hideField :false,
hide:$.isEmpty(sx_['teacherOpenCourseStudentSigninId'])?false:sx_['teacherOpenCourseStudentSigninId'],
hide:$.isEmpty(sx_['teacherOpenCourseStudentSigninLogId'])?false:sx_['teacherOpenCourseStudentSigninLogId'],
width : 60,
},
@ -63,32 +63,32 @@ layui.define([ 'form', 'laydate', 'table' ], function(exports) {
hide:$.isEmpty(sx_['schoolClassIdText'])?false:sx_['schoolClassIdText'],
},
{
field : 'teacherOpenCourseStudentSigninAddTime',
field : 'teacherOpenCourseStudentSigninLogAddTime',
title : '签到日期',
align:"center",
hideField :false,
hide:$.isEmpty(sx_['teacherOpenCourseStudentSigninAddTime'])?false:sx_['teacherOpenCourseStudentSigninAddTime'],
hide:$.isEmpty(sx_['teacherOpenCourseStudentSigninLogAddTime'])?false:sx_['teacherOpenCourseStudentSigninLogAddTime'],
},
{
field : 'teacherOpenCourseStudentSigninTypeText', //数据字典类型为 student_signin_type
field : 'teacherOpenCourseStudentSigninLogTypeText', //数据字典类型为 student_signin_type
title : '签到方式 (数据字典 student_signin_type)',
align:"center",
hideField :false,
hide:$.isEmpty(sx_['teacherOpenCourseStudentSigninTypeText'])?false:sx_['teacherOpenCourseStudentSigninTypeText'],
hide:$.isEmpty(sx_['teacherOpenCourseStudentSigninLogTypeText'])?false:sx_['teacherOpenCourseStudentSigninLogTypeText'],
},
{
field : 'teacherOpenCourseStudentSigninRemark',
field : 'teacherOpenCourseStudentSigninLogRemark',
title : '备注(缺勤理由)',
align:"center",
hideField :false,
hide:$.isEmpty(sx_['teacherOpenCourseStudentSigninRemark'])?false:sx_['teacherOpenCourseStudentSigninRemark'],
hide:$.isEmpty(sx_['teacherOpenCourseStudentSigninLogRemark'])?false:sx_['teacherOpenCourseStudentSigninLogRemark'],
},
{
field : 'teacherOpenCourseStudentSigninIp',
field : 'teacherOpenCourseStudentSigninLogIp',
title : '签到的IP',
align:"center",
hideField :false,
hide:$.isEmpty(sx_['teacherOpenCourseStudentSigninIp'])?false:sx_['teacherOpenCourseStudentSigninIp'],
hide:$.isEmpty(sx_['teacherOpenCourseStudentSigninLogIp'])?false:sx_['teacherOpenCourseStudentSigninLogIp'],
},
{
field : 'orgId',
@ -141,8 +141,8 @@ layui.define([ 'form', 'laydate', 'table' ], function(exports) {
if(data==null){
return ;
}
var url = "/jlw/teacherOpenCourseStudentSigninLog/add.do?teacherOpenCourseStudentSigninId="+data.teacherOpenCourseStudentSigninId;
Common.openDlg(url,"学生签到记录管理>"+data.teacherOpenCourseStudentSigninId+">编辑");
var url = "/jlw/teacherOpenCourseStudentSigninLog/add.do?teacherOpenCourseStudentSigninLogId="+data.teacherOpenCourseStudentSigninLogId;
Common.openDlg(url,"学生签到记录管理>"+data.teacherOpenCourseStudentSigninLogId+">编辑");
},
del: function () {
layui.use(['del'], function(){
@ -169,11 +169,11 @@ layui.define([ 'form', 'laydate', 'table' ], function(exports) {
}, initTableTool: table.on('tool(teacherOpenCourseStudentSigninLogTable)', function (obj) {
var data = obj.data;
if (obj.event === 'edit') {
var url = "/jlw/teacherOpenCourseStudentSigninLog/add.do?teacherOpenCourseStudentSigninId="+data.teacherOpenCourseStudentSigninId;
Common.openDlg(url,"学生签到记录管理>"+data.teacherOpenCourseStudentSigninId+">编辑");
var url = "/jlw/teacherOpenCourseStudentSigninLog/add.do?teacherOpenCourseStudentSigninLogId="+data.teacherOpenCourseStudentSigninLogId;
Common.openDlg(url,"学生签到记录管理>"+data.teacherOpenCourseStudentSigninLogId+">编辑");
}else if(obj.event === "del"){
layer.confirm('是否确定删除该信息?', function (index) {
var ret = Common.postAjax("/jlw/teacherOpenCourseStudentSigninLog/delete.json",{ids:data.teacherOpenCourseStudentSigninId});
var ret = Common.postAjax("/jlw/teacherOpenCourseStudentSigninLog/delete.json",{ids:data.teacherOpenCourseStudentSigninLogId});
layer.msg(ret.code == 0?"删除成功!":ret.msg, {
offset: ['50%'],
icon: ret.code == 0?1:2,

@ -31,7 +31,7 @@
<div class="layui-inline">
<label class="layui-form-label">签到日期</label>
<div class="layui-input-inline">
<input type="text" id="teacherOpenCourseStudentSigninAddTime" name="teacherOpenCourseStudentSigninAddTime" value="${teacherOpenCourseStudentSigninLog.teacherOpenCourseStudentSigninAddTime,"yyyy-MM-dd HH:mm:ss"}" placeholder="yyyy-MM-dd HH:mm:ss" class="layui-input input-datetime" >
<input type="text" id="teacherOpenCourseStudentSigninLogAddTime" name="teacherOpenCourseStudentSigninLogAddTime" value="${teacherOpenCourseStudentSigninLog.teacherOpenCourseStudentSigninLogAddTime,"yyyy-MM-dd"}" class="layui-input input-date" >
</div>
</div>
</div>
@ -42,13 +42,13 @@
<label class="layui-form-label">签到方式 (数据字典 student_signin_type)</label>
<div class="layui-input-inline">
<layui:simpleDictSelect style='layui-input-inline' type="student_signin_type"
id="teacherOpenCourseStudentSigninType" name="teacherOpenCourseStudentSigninType" value="${teacherOpenCourseStudentSigninLog.teacherOpenCourseStudentSigninType}" layVerify="" />
id="teacherOpenCourseStudentSigninLogType" name="teacherOpenCourseStudentSigninLogType" value="${teacherOpenCourseStudentSigninLog.teacherOpenCourseStudentSigninLogType}" layVerify="" />
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">备注(缺勤理由)</label>
<div class="layui-input-inline">
<input type="text" id="teacherOpenCourseStudentSigninRemark" name="teacherOpenCourseStudentSigninRemark" value="${teacherOpenCourseStudentSigninLog.teacherOpenCourseStudentSigninRemark}" class="layui-input" >
<input type="text" id="teacherOpenCourseStudentSigninLogRemark" name="teacherOpenCourseStudentSigninLogRemark" value="${teacherOpenCourseStudentSigninLog.teacherOpenCourseStudentSigninLogRemark}" class="layui-input" >
</div>
</div>
</div>
@ -58,7 +58,7 @@
<div class="layui-inline">
<label class="layui-form-label">签到的IP</label>
<div class="layui-input-inline">
<input type="text" id="teacherOpenCourseStudentSigninIp" name="teacherOpenCourseStudentSigninIp" value="${teacherOpenCourseStudentSigninLog.teacherOpenCourseStudentSigninIp}" class="layui-input" >
<input type="text" id="teacherOpenCourseStudentSigninLogIp" name="teacherOpenCourseStudentSigninLogIp" value="${teacherOpenCourseStudentSigninLog.teacherOpenCourseStudentSigninLogIp}" class="layui-input" >
</div>
</div>
<div class="layui-inline">
@ -80,7 +80,7 @@
</div>
</div>
<!-- 业务对象须有hidden字段保存delFlag和version字段-->
<input type="hidden" name="teacherOpenCourseStudentSigninId" value="${teacherOpenCourseStudentSigninLog.teacherOpenCourseStudentSigninId}" />
<input type="hidden" name="teacherOpenCourseStudentSigninLogId" value="${teacherOpenCourseStudentSigninLog.teacherOpenCourseStudentSigninLogId}" />
<layui:submitButtons id="addButton" buttonType="" showExamine="2" />
</form>
<!--#} -->

@ -31,7 +31,7 @@
<div class="layui-inline">
<label class="layui-form-label">签到日期</label>
<div class="layui-input-inline">
<input type="text" id="teacherOpenCourseStudentSigninAddTime" name="teacherOpenCourseStudentSigninAddTime" value="${teacherOpenCourseStudentSigninLog.teacherOpenCourseStudentSigninAddTime,"yyyy-MM-dd HH:mm:ss"}" placeholder="yyyy-MM-dd HH:mm:ss" class="layui-input input-datetime" >
<input type="text" id="teacherOpenCourseStudentSigninLogAddTime" name="teacherOpenCourseStudentSigninLogAddTime" value="${teacherOpenCourseStudentSigninLog.teacherOpenCourseStudentSigninLogAddTime,"yyyy-MM-dd"}" class="layui-input input-date" >
</div>
</div>
</div>
@ -42,13 +42,13 @@
<label class="layui-form-label">签到方式 (数据字典 student_signin_type)</label>
<div class="layui-input-inline">
<layui:simpleDictSelect style='layui-input-inline' type="student_signin_type"
id="teacherOpenCourseStudentSigninType" name="teacherOpenCourseStudentSigninType" value="${teacherOpenCourseStudentSigninLog.teacherOpenCourseStudentSigninType}" layVerify="" />
id="teacherOpenCourseStudentSigninLogType" name="teacherOpenCourseStudentSigninLogType" value="${teacherOpenCourseStudentSigninLog.teacherOpenCourseStudentSigninLogType}" layVerify="" />
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">备注(缺勤理由)</label>
<div class="layui-input-inline">
<input type="text" id="teacherOpenCourseStudentSigninRemark" name="teacherOpenCourseStudentSigninRemark" value="${teacherOpenCourseStudentSigninLog.teacherOpenCourseStudentSigninRemark}" class="layui-input" >
<input type="text" id="teacherOpenCourseStudentSigninLogRemark" name="teacherOpenCourseStudentSigninLogRemark" value="${teacherOpenCourseStudentSigninLog.teacherOpenCourseStudentSigninLogRemark}" class="layui-input" >
</div>
</div>
</div>
@ -58,7 +58,7 @@
<div class="layui-inline">
<label class="layui-form-label">签到的IP</label>
<div class="layui-input-inline">
<input type="text" id="teacherOpenCourseStudentSigninIp" name="teacherOpenCourseStudentSigninIp" value="${teacherOpenCourseStudentSigninLog.teacherOpenCourseStudentSigninIp}" class="layui-input" >
<input type="text" id="teacherOpenCourseStudentSigninLogIp" name="teacherOpenCourseStudentSigninLogIp" value="${teacherOpenCourseStudentSigninLog.teacherOpenCourseStudentSigninLogIp}" class="layui-input" >
</div>
</div>
<div class="layui-inline">
@ -80,7 +80,7 @@
</div>
</div>
<!-- 业务对象须有hidden字段保存delFlag和version字段-->
<input type="hidden" name="teacherOpenCourseStudentSigninId" value="${teacherOpenCourseStudentSigninLog.teacherOpenCourseStudentSigninId}" />
<input type="hidden" name="teacherOpenCourseStudentSigninLogId" value="${teacherOpenCourseStudentSigninLog.teacherOpenCourseStudentSigninLogId}" />
<layui:submitButtons id="updateButton" buttonType="" showExamine="2" />
</form>
<!--#} -->

Loading…
Cancel
Save