移除开课和学生的关系;

beetlsql3-dev
Mlxa0324 2 years ago
parent 417df42728
commit a50e6c3a8d

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?PowerDesigner AppLocale="UTF16" ID="{BA33ABB7-B246-4DB0-85DE-396EDDB46458}" Label="" LastModificationDate="1665757315" Name="cjks" Objects="1128" Symbols="89" 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="1665821833" Name="cjks" Objects="1097" 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">
@ -4432,9 +4432,9 @@ Shadow=0</a:DisplayPreferences>
</o:ExtendedDependencySymbol>
<o:ExtendedDependencySymbol Id="o41">
<a:CreationDate>1662647833</a:CreationDate>
<a:ModificationDate>1665583780</a:ModificationDate>
<a:Rect>((277230,14785), (285141,27625))</a:Rect>
<a:ListOfPoints>((277230,14785),(277230,20457),(284841,20457),(284841,27625))</a:ListOfPoints>
<a:ModificationDate>1665821828</a:ModificationDate>
<a:Rect>((276450,14759), (285141,27625))</a:Rect>
<a:ListOfPoints>((276450,14759),(276450,20457),(284841,20457),(284841,27625))</a:ListOfPoints>
<a:CornerStyle>1</a:CornerStyle>
<a:ArrowStyle>8</a:ArrowStyle>
<a:LineColor>16744576</a:LineColor>
@ -5776,11 +5776,11 @@ LABL 0 新宋体,8,N</a:FontList>
<o:Table Ref="o154"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o42">
<o:TableSymbol Id="o155">
<a:CreationDate>1661955443</a:CreationDate>
<a:ModificationDate>1665583780</a:ModificationDate>
<a:ModificationDate>1665821830</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((267863,10624), (286863,18804))</a:Rect>
<a:Rect>((270513,-376), (289513,7804))</a:Rect>
<a:AutoAdjustToText>0</a:AutoAdjustToText>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
@ -5800,7 +5800,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o155"/>
<o:Table Ref="o156"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o26">
@ -5827,7 +5827,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o156"/>
<o:Table Ref="o157"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o20">
@ -5852,7 +5852,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientFillMode>65</a:GradientFillMode>
<a:GradientEndColor>16777215</a:GradientEndColor>
<c:Object>
<o:Table Ref="o157"/>
<o:Table Ref="o158"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o30">
@ -5879,7 +5879,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o158"/>
<o:Table Ref="o159"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o65">
@ -5906,10 +5906,10 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o159"/>
<o:Table Ref="o160"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o160">
<o:TableSymbol Id="o161">
<a:CreationDate>1662045362</a:CreationDate>
<a:ModificationDate>1665199908</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
@ -5933,7 +5933,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o161"/>
<o:Table Ref="o162"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o33">
@ -5960,7 +5960,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o162"/>
<o:Table Ref="o163"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o36">
@ -5987,7 +5987,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o163"/>
<o:Table Ref="o164"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o39">
@ -6014,10 +6014,10 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o164"/>
<o:Table Ref="o165"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o165">
<o:TableSymbol Id="o166">
<a:CreationDate>1662554252</a:CreationDate>
<a:ModificationDate>1663853151</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
@ -6041,10 +6041,10 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o166"/>
<o:Table Ref="o167"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o167">
<o:TableSymbol Id="o168">
<a:CreationDate>1662648377</a:CreationDate>
<a:ModificationDate>1662650462</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
@ -6068,10 +6068,10 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o168"/>
<o:Table Ref="o169"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o169">
<o:TableSymbol Id="o170">
<a:CreationDate>1662648708</a:CreationDate>
<a:ModificationDate>1662650462</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
@ -6095,7 +6095,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o170"/>
<o:Table Ref="o171"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o45">
@ -6122,7 +6122,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o171"/>
<o:Table Ref="o172"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o27">
@ -6149,7 +6149,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o172"/>
<o:Table Ref="o173"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o50">
@ -6176,14 +6176,14 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o173"/>
<o:Table Ref="o174"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o174">
<o:TableSymbol Id="o42">
<a:CreationDate>1662982569</a:CreationDate>
<a:ModificationDate>1665583780</a:ModificationDate>
<a:ModificationDate>1665821833</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((271478,-1181), (289616,7449))</a:Rect>
<a:Rect>((267828,9850), (285966,18998))</a:Rect>
<a:AutoAdjustToText>0</a:AutoAdjustToText>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
@ -13842,15 +13842,15 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o731"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o155">
<o:Table Id="o156">
<a:ObjectID>719165CF-662B-4A1D-B61A-61F3E22AAD95</a:ObjectID>
<a:Name>teacher_open_course_merge_student</a:Name>
<a:Code>teacher_open_course_merge_student</a:Code>
<a:CreationDate>1661850632</a:CreationDate>
<a:Creator>lx</a:Creator>
<a:ModificationDate>1663402294</a:ModificationDate>
<a:ModificationDate>1665821823</a:ModificationDate>
<a:Modifier>lx</a:Modifier>
<a:Comment>课程开课-关联-学生</a:Comment>
<a:Comment>课程开课-关联-学生(暂时没用到)</a:Comment>
<a:PhysicalOptions>auto_increment = 1
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8
@ -13943,7 +13943,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o738"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o156">
<o:Table Id="o157">
<a:ObjectID>45F61D05-97D1-445E-9E51-21891A114F4B</a:ObjectID>
<a:Name>teacher_open_course_schedule_session_tag</a:Name>
<a:Code>teacher_open_course_schedule_session_tag</a:Code>
@ -14069,7 +14069,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o747"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o157">
<o:Table Id="o158">
<a:ObjectID>A4E7AF70-5FE3-4492-846C-7D9DF4898C1B</a:ObjectID>
<a:Name>teacher_open_course_student_signin_setting</a:Name>
<a:Code>teacher_open_course_student_signin_setting</a:Code>
@ -14249,7 +14249,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o761"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o158">
<o:Table Id="o159">
<a:ObjectID>A0A79325-1780-4971-9340-DEFA00A2BA0F</a:ObjectID>
<a:Name>teacher_open_course_chat_log</a:Name>
<a:Code>teacher_open_course_chat_log</a:Code>
@ -14444,7 +14444,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o776"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o159">
<o:Table Id="o160">
<a:ObjectID>520E1690-D890-46CE-A852-B26097FAB204</a:ObjectID>
<a:Name>teacher_open_course_question_log</a:Name>
<a:Code>teacher_open_course_question_log</a:Code>
@ -14700,7 +14700,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o796"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o161">
<o:Table Id="o162">
<a:ObjectID>91A7D22A-A6C5-4B52-B64F-D0BABC0C48C1</a:ObjectID>
<a:Name>core_setting</a:Name>
<a:Code>core_setting</a:Code>
@ -14819,7 +14819,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o804"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o162">
<o:Table Id="o163">
<a:ObjectID>33716A99-CF47-4683-BFD3-ACC1CD227EF6</a:ObjectID>
<a:Name>teacher_open_course_score_dashboard</a:Name>
<a:Code>teacher_open_course_score_dashboard</a:Code>
@ -15020,7 +15020,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o820"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o163">
<o:Table Id="o164">
<a:ObjectID>F4E82872-4068-46F7-9B5C-B433DE7B6C23</a:ObjectID>
<a:Name>teacher_open_course_notice</a:Name>
<a:Code>teacher_open_course_notice</a:Code>
@ -15174,7 +15174,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o831"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o164">
<o:Table Id="o165">
<a:ObjectID>BD914759-3D83-49FF-93CC-41EE47EB15E9</a:ObjectID>
<a:Name>teacher_open_course_knowledge_point</a:Name>
<a:Code>teacher_open_course_knowledge_point</a:Code>
@ -15315,7 +15315,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o841"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o166">
<o:Table Id="o167">
<a:ObjectID>CF45BE88-FE14-4BD6-86FC-5E873A2A4556</a:ObjectID>
<a:Name>student_client_link</a:Name>
<a:Code>student_client_link</a:Code>
@ -15475,7 +15475,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o853"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o168">
<o:Table Id="o169">
<a:ObjectID>BA9D5B11-390C-4ABE-AFA7-1ED14A6FD2AB</a:ObjectID>
<a:Name>university_system</a:Name>
<a:Code>university_system</a:Code>
@ -15612,7 +15612,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o863"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o170">
<o:Table Id="o171">
<a:ObjectID>27EC9DD6-9440-4F6A-B972-818911A7DEFC</a:ObjectID>
<a:Name>university_faculty</a:Name>
<a:Code>university_faculty</a:Code>
@ -15761,7 +15761,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o874"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o171">
<o:Table Id="o172">
<a:ObjectID>D5147AE5-08B1-41FE-A2F9-990459D06929</a:ObjectID>
<a:Name>teacher_open_course_schedule_session_class</a:Name>
<a:Code>teacher_open_course_schedule_session_class</a:Code>
@ -15864,7 +15864,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o881"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o172">
<o:Table Id="o173">
<a:ObjectID>D847CA4B-D140-400C-BB77-A4FBB89EB9D8</a:ObjectID>
<a:Name>teacher_open_course_schedule_session</a:Name>
<a:Code>teacher_open_course_schedule_session</a:Code>
@ -16023,7 +16023,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o893"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o173">
<o:Table Id="o174">
<a:ObjectID>77852AFF-718A-4027-9410-5E6B6AB883C5</a:ObjectID>
<a:Name>teacher_open_course_merge_teacher</a:Name>
<a:Code>teacher_open_course_merge_teacher</a:Code>
@ -18159,7 +18159,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Table Ref="o150"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o157"/>
<o:Table Ref="o158"/>
</c:Object2>
</o:ExtendedDependency>
<o:ExtendedDependency Id="o24">
@ -18169,7 +18169,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<a:ModificationDate>1661960842</a:ModificationDate>
<a:Modifier>lx</a:Modifier>
<c:Object1>
<o:Table Ref="o157"/>
<o:Table Ref="o158"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o148"/>
@ -18182,10 +18182,10 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<a:ModificationDate>1662809978</a:ModificationDate>
<a:Modifier>lx</a:Modifier>
<c:Object1>
<o:Table Ref="o172"/>
<o:Table Ref="o173"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o156"/>
<o:Table Ref="o157"/>
</c:Object2>
</o:ExtendedDependency>
<o:ExtendedDependency Id="o31">
@ -18198,7 +18198,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Table Ref="o150"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o158"/>
<o:Table Ref="o159"/>
</c:Object2>
</o:ExtendedDependency>
<o:ExtendedDependency Id="o34">
@ -18211,7 +18211,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Table Ref="o150"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o162"/>
<o:Table Ref="o163"/>
</c:Object2>
</o:ExtendedDependency>
<o:ExtendedDependency Id="o37">
@ -18224,7 +18224,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Table Ref="o150"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o163"/>
<o:Table Ref="o164"/>
</c:Object2>
</o:ExtendedDependency>
<o:ExtendedDependency Id="o40">
@ -18237,20 +18237,20 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Table Ref="o150"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o164"/>
<o:Table Ref="o165"/>
</c:Object2>
</o:ExtendedDependency>
<o:ExtendedDependency Id="o43">
<a:ObjectID>0DDD8BBF-82DB-43A4-BDB8-B43EFB2BCDD2</a:ObjectID>
<a:CreationDate>1662647833</a:CreationDate>
<a:Creator>lx</a:Creator>
<a:ModificationDate>1662647861</a:ModificationDate>
<a:ModificationDate>1665821809</a:ModificationDate>
<a:Modifier>lx</a:Modifier>
<c:Object1>
<o:Table Ref="o150"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o155"/>
<o:Table Ref="o175"/>
</c:Object2>
</o:ExtendedDependency>
<o:ExtendedDependency Id="o46">
@ -18260,10 +18260,10 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<a:ModificationDate>1662810021</a:ModificationDate>
<a:Modifier>lx</a:Modifier>
<c:Object1>
<o:Table Ref="o172"/>
<o:Table Ref="o173"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o171"/>
<o:Table Ref="o172"/>
</c:Object2>
</o:ExtendedDependency>
<o:ExtendedDependency Id="o48">
@ -18276,7 +18276,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Table Ref="o150"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o172"/>
<o:Table Ref="o173"/>
</c:Object2>
</o:ExtendedDependency>
<o:ExtendedDependency Id="o51">
@ -18289,7 +18289,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Table Ref="o150"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o173"/>
<o:Table Ref="o174"/>
</c:Object2>
</o:ExtendedDependency>
<o:ExtendedDependency Id="o54">
@ -18338,7 +18338,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<a:ModificationDate>1664461421</a:ModificationDate>
<a:Modifier>Administrator</a:Modifier>
<c:Object1>
<o:Table Ref="o162"/>
<o:Table Ref="o163"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o185"/>
@ -18354,7 +18354,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Table Ref="o149"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o159"/>
<o:Table Ref="o160"/>
</c:Object2>
</o:ExtendedDependency>
<o:ExtendedDependency Id="o69">

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?PowerDesigner AppLocale="UTF16" ID="{BA33ABB7-B246-4DB0-85DE-396EDDB46458}" Label="" LastModificationDate="1665757315" Name="cjks" Objects="1128" Symbols="89" 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="1665822005" Name="cjks" Objects="1097" 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">
@ -4432,9 +4432,9 @@ Shadow=0</a:DisplayPreferences>
</o:ExtendedDependencySymbol>
<o:ExtendedDependencySymbol Id="o41">
<a:CreationDate>1662647833</a:CreationDate>
<a:ModificationDate>1665583780</a:ModificationDate>
<a:Rect>((277230,14785), (285141,27625))</a:Rect>
<a:ListOfPoints>((277230,14785),(277230,20457),(284841,20457),(284841,27625))</a:ListOfPoints>
<a:ModificationDate>1665821828</a:ModificationDate>
<a:Rect>((276450,14759), (285141,27625))</a:Rect>
<a:ListOfPoints>((276450,14759),(276450,20457),(284841,20457),(284841,27625))</a:ListOfPoints>
<a:CornerStyle>1</a:CornerStyle>
<a:ArrowStyle>8</a:ArrowStyle>
<a:LineColor>16744576</a:LineColor>
@ -5776,11 +5776,11 @@ LABL 0 新宋体,8,N</a:FontList>
<o:Table Ref="o154"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o42">
<o:TableSymbol Id="o155">
<a:CreationDate>1661955443</a:CreationDate>
<a:ModificationDate>1665583780</a:ModificationDate>
<a:ModificationDate>1665821830</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((267863,10624), (286863,18804))</a:Rect>
<a:Rect>((270513,-376), (289513,7804))</a:Rect>
<a:AutoAdjustToText>0</a:AutoAdjustToText>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
@ -5800,7 +5800,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o155"/>
<o:Table Ref="o156"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o26">
@ -5827,7 +5827,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o156"/>
<o:Table Ref="o157"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o20">
@ -5852,7 +5852,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientFillMode>65</a:GradientFillMode>
<a:GradientEndColor>16777215</a:GradientEndColor>
<c:Object>
<o:Table Ref="o157"/>
<o:Table Ref="o158"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o30">
@ -5879,7 +5879,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o158"/>
<o:Table Ref="o159"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o65">
@ -5906,10 +5906,10 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o159"/>
<o:Table Ref="o160"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o160">
<o:TableSymbol Id="o161">
<a:CreationDate>1662045362</a:CreationDate>
<a:ModificationDate>1665199908</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
@ -5933,7 +5933,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o161"/>
<o:Table Ref="o162"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o33">
@ -5960,7 +5960,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o162"/>
<o:Table Ref="o163"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o36">
@ -5987,7 +5987,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o163"/>
<o:Table Ref="o164"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o39">
@ -6014,10 +6014,10 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o164"/>
<o:Table Ref="o165"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o165">
<o:TableSymbol Id="o166">
<a:CreationDate>1662554252</a:CreationDate>
<a:ModificationDate>1663853151</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
@ -6041,10 +6041,10 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o166"/>
<o:Table Ref="o167"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o167">
<o:TableSymbol Id="o168">
<a:CreationDate>1662648377</a:CreationDate>
<a:ModificationDate>1662650462</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
@ -6068,10 +6068,10 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o168"/>
<o:Table Ref="o169"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o169">
<o:TableSymbol Id="o170">
<a:CreationDate>1662648708</a:CreationDate>
<a:ModificationDate>1662650462</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
@ -6095,7 +6095,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o170"/>
<o:Table Ref="o171"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o45">
@ -6122,7 +6122,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o171"/>
<o:Table Ref="o172"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o27">
@ -6149,7 +6149,7 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o172"/>
<o:Table Ref="o173"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o50">
@ -6176,14 +6176,14 @@ LABL 0 新宋体,8,N</a:FontList>
<a:GradientEndColor>16777215</a:GradientEndColor>
<a:ManuallyResized>1</a:ManuallyResized>
<c:Object>
<o:Table Ref="o173"/>
<o:Table Ref="o174"/>
</c:Object>
</o:TableSymbol>
<o:TableSymbol Id="o174">
<o:TableSymbol Id="o42">
<a:CreationDate>1662982569</a:CreationDate>
<a:ModificationDate>1665583780</a:ModificationDate>
<a:ModificationDate>1665821833</a:ModificationDate>
<a:IconMode>-1</a:IconMode>
<a:Rect>((271478,-1181), (289616,7449))</a:Rect>
<a:Rect>((267828,9850), (285966,18998))</a:Rect>
<a:AutoAdjustToText>0</a:AutoAdjustToText>
<a:LineColor>12615680</a:LineColor>
<a:FillColor>16570034</a:FillColor>
@ -13528,9 +13528,9 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<a:Code>school_class_student</a:Code>
<a:CreationDate>1563157584</a:CreationDate>
<a:Creator>lx</a:Creator>
<a:ModificationDate>1661953827</a:ModificationDate>
<a:ModificationDate>1665822005</a:ModificationDate>
<a:Modifier>lx</a:Modifier>
<a:Comment>班级-学生-关联</a:Comment>
<a:Comment>班级-学生-关联(没用到)</a:Comment>
<a:PhysicalOptions>auto_increment = 1
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8
@ -13842,15 +13842,15 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o731"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o155">
<o:Table Id="o156">
<a:ObjectID>719165CF-662B-4A1D-B61A-61F3E22AAD95</a:ObjectID>
<a:Name>teacher_open_course_merge_student</a:Name>
<a:Code>teacher_open_course_merge_student</a:Code>
<a:CreationDate>1661850632</a:CreationDate>
<a:Creator>lx</a:Creator>
<a:ModificationDate>1663402294</a:ModificationDate>
<a:ModificationDate>1665821823</a:ModificationDate>
<a:Modifier>lx</a:Modifier>
<a:Comment>课程开课-关联-学生</a:Comment>
<a:Comment>课程开课-关联-学生(暂时没用到)</a:Comment>
<a:PhysicalOptions>auto_increment = 1
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8
@ -13943,7 +13943,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o738"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o156">
<o:Table Id="o157">
<a:ObjectID>45F61D05-97D1-445E-9E51-21891A114F4B</a:ObjectID>
<a:Name>teacher_open_course_schedule_session_tag</a:Name>
<a:Code>teacher_open_course_schedule_session_tag</a:Code>
@ -14069,7 +14069,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o747"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o157">
<o:Table Id="o158">
<a:ObjectID>A4E7AF70-5FE3-4492-846C-7D9DF4898C1B</a:ObjectID>
<a:Name>teacher_open_course_student_signin_setting</a:Name>
<a:Code>teacher_open_course_student_signin_setting</a:Code>
@ -14249,7 +14249,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o761"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o158">
<o:Table Id="o159">
<a:ObjectID>A0A79325-1780-4971-9340-DEFA00A2BA0F</a:ObjectID>
<a:Name>teacher_open_course_chat_log</a:Name>
<a:Code>teacher_open_course_chat_log</a:Code>
@ -14444,7 +14444,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o776"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o159">
<o:Table Id="o160">
<a:ObjectID>520E1690-D890-46CE-A852-B26097FAB204</a:ObjectID>
<a:Name>teacher_open_course_question_log</a:Name>
<a:Code>teacher_open_course_question_log</a:Code>
@ -14700,7 +14700,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o796"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o161">
<o:Table Id="o162">
<a:ObjectID>91A7D22A-A6C5-4B52-B64F-D0BABC0C48C1</a:ObjectID>
<a:Name>core_setting</a:Name>
<a:Code>core_setting</a:Code>
@ -14819,7 +14819,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o804"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o162">
<o:Table Id="o163">
<a:ObjectID>33716A99-CF47-4683-BFD3-ACC1CD227EF6</a:ObjectID>
<a:Name>teacher_open_course_score_dashboard</a:Name>
<a:Code>teacher_open_course_score_dashboard</a:Code>
@ -15020,7 +15020,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o820"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o163">
<o:Table Id="o164">
<a:ObjectID>F4E82872-4068-46F7-9B5C-B433DE7B6C23</a:ObjectID>
<a:Name>teacher_open_course_notice</a:Name>
<a:Code>teacher_open_course_notice</a:Code>
@ -15174,7 +15174,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o831"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o164">
<o:Table Id="o165">
<a:ObjectID>BD914759-3D83-49FF-93CC-41EE47EB15E9</a:ObjectID>
<a:Name>teacher_open_course_knowledge_point</a:Name>
<a:Code>teacher_open_course_knowledge_point</a:Code>
@ -15315,7 +15315,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o841"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o166">
<o:Table Id="o167">
<a:ObjectID>CF45BE88-FE14-4BD6-86FC-5E873A2A4556</a:ObjectID>
<a:Name>student_client_link</a:Name>
<a:Code>student_client_link</a:Code>
@ -15475,7 +15475,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o853"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o168">
<o:Table Id="o169">
<a:ObjectID>BA9D5B11-390C-4ABE-AFA7-1ED14A6FD2AB</a:ObjectID>
<a:Name>university_system</a:Name>
<a:Code>university_system</a:Code>
@ -15612,7 +15612,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o863"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o170">
<o:Table Id="o171">
<a:ObjectID>27EC9DD6-9440-4F6A-B972-818911A7DEFC</a:ObjectID>
<a:Name>university_faculty</a:Name>
<a:Code>university_faculty</a:Code>
@ -15761,7 +15761,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o874"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o171">
<o:Table Id="o172">
<a:ObjectID>D5147AE5-08B1-41FE-A2F9-990459D06929</a:ObjectID>
<a:Name>teacher_open_course_schedule_session_class</a:Name>
<a:Code>teacher_open_course_schedule_session_class</a:Code>
@ -15864,7 +15864,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o881"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o172">
<o:Table Id="o173">
<a:ObjectID>D847CA4B-D140-400C-BB77-A4FBB89EB9D8</a:ObjectID>
<a:Name>teacher_open_course_schedule_session</a:Name>
<a:Code>teacher_open_course_schedule_session</a:Code>
@ -16023,7 +16023,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Key Ref="o893"/>
</c:PrimaryKey>
</o:Table>
<o:Table Id="o173">
<o:Table Id="o174">
<a:ObjectID>77852AFF-718A-4027-9410-5E6B6AB883C5</a:ObjectID>
<a:Name>teacher_open_course_merge_teacher</a:Name>
<a:Code>teacher_open_course_merge_teacher</a:Code>
@ -18159,7 +18159,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Table Ref="o150"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o157"/>
<o:Table Ref="o158"/>
</c:Object2>
</o:ExtendedDependency>
<o:ExtendedDependency Id="o24">
@ -18169,7 +18169,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<a:ModificationDate>1661960842</a:ModificationDate>
<a:Modifier>lx</a:Modifier>
<c:Object1>
<o:Table Ref="o157"/>
<o:Table Ref="o158"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o148"/>
@ -18182,10 +18182,10 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<a:ModificationDate>1662809978</a:ModificationDate>
<a:Modifier>lx</a:Modifier>
<c:Object1>
<o:Table Ref="o172"/>
<o:Table Ref="o173"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o156"/>
<o:Table Ref="o157"/>
</c:Object2>
</o:ExtendedDependency>
<o:ExtendedDependency Id="o31">
@ -18198,7 +18198,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Table Ref="o150"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o158"/>
<o:Table Ref="o159"/>
</c:Object2>
</o:ExtendedDependency>
<o:ExtendedDependency Id="o34">
@ -18211,7 +18211,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Table Ref="o150"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o162"/>
<o:Table Ref="o163"/>
</c:Object2>
</o:ExtendedDependency>
<o:ExtendedDependency Id="o37">
@ -18224,7 +18224,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Table Ref="o150"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o163"/>
<o:Table Ref="o164"/>
</c:Object2>
</o:ExtendedDependency>
<o:ExtendedDependency Id="o40">
@ -18237,20 +18237,20 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Table Ref="o150"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o164"/>
<o:Table Ref="o165"/>
</c:Object2>
</o:ExtendedDependency>
<o:ExtendedDependency Id="o43">
<a:ObjectID>0DDD8BBF-82DB-43A4-BDB8-B43EFB2BCDD2</a:ObjectID>
<a:CreationDate>1662647833</a:CreationDate>
<a:Creator>lx</a:Creator>
<a:ModificationDate>1662647861</a:ModificationDate>
<a:ModificationDate>1665821809</a:ModificationDate>
<a:Modifier>lx</a:Modifier>
<c:Object1>
<o:Table Ref="o150"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o155"/>
<o:Table Ref="o175"/>
</c:Object2>
</o:ExtendedDependency>
<o:ExtendedDependency Id="o46">
@ -18260,10 +18260,10 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<a:ModificationDate>1662810021</a:ModificationDate>
<a:Modifier>lx</a:Modifier>
<c:Object1>
<o:Table Ref="o172"/>
<o:Table Ref="o173"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o171"/>
<o:Table Ref="o172"/>
</c:Object2>
</o:ExtendedDependency>
<o:ExtendedDependency Id="o48">
@ -18276,7 +18276,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Table Ref="o150"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o172"/>
<o:Table Ref="o173"/>
</c:Object2>
</o:ExtendedDependency>
<o:ExtendedDependency Id="o51">
@ -18289,7 +18289,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Table Ref="o150"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o173"/>
<o:Table Ref="o174"/>
</c:Object2>
</o:ExtendedDependency>
<o:ExtendedDependency Id="o54">
@ -18338,7 +18338,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<a:ModificationDate>1664461421</a:ModificationDate>
<a:Modifier>Administrator</a:Modifier>
<c:Object1>
<o:Table Ref="o162"/>
<o:Table Ref="o163"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o185"/>
@ -18354,7 +18354,7 @@ COLLATE = utf8_general_ci</a:PhysicalOptions>
<o:Table Ref="o149"/>
</c:Object1>
<c:Object2>
<o:Table Ref="o159"/>
<o:Table Ref="o160"/>
</c:Object2>
</o:ExtendedDependency>
<o:ExtendedDependency Id="o69">

@ -1,25 +0,0 @@
package com.ibeetl.jlw.dao;
import com.ibeetl.jlw.entity.SchoolClassStudent;
import com.ibeetl.jlw.web.query.SchoolClassStudentQuery;
import org.beetl.sql.core.engine.PageQuery;
import org.beetl.sql.mapper.BaseMapper;
import org.beetl.sql.mapper.annotation.SqlResource;
import org.beetl.sql.mapper.annotation.Update;
import java.util.List;
/**
* Dao
*/
@SqlResource("jlw.schoolClassStudent")
public interface SchoolClassStudentDao extends BaseMapper<SchoolClassStudent>{
PageQuery<SchoolClassStudent> queryByCondition(PageQuery query);
PageQuery<SchoolClassStudent> queryByConditionQuery(PageQuery query);
@Update
void deleteSchoolClassStudentByIds(String ids);
@Update
int updateGivenByIds(SchoolClassStudentQuery schoolClassStudentQuery);
List<SchoolClassStudent> getByIds(String ids);
List<SchoolClassStudent> getValuesByQuery(SchoolClassStudentQuery schoolClassStudentQuery);
}

@ -1,128 +0,0 @@
package com.ibeetl.jlw.entity;
import com.ibeetl.admin.core.annotation.Dict;
import com.ibeetl.admin.core.entity.BaseEntity;
import com.ibeetl.admin.core.util.ValidateConfig;
import org.beetl.sql.annotation.entity.AssignID;
import javax.validation.constraints.NotNull;
import java.util.Date;
/*
* --
* gen by Spring Boot2 Admin 2022-09-20
*/
public class SchoolClassStudent extends BaseEntity{
//班级-学生-关联ID
@NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
// @SeqID(name = ORACLE_CORE_SEQ_NAME)
@AssignID(value = "maskAutoID",param = "com.ibeetl.jlw.entity.SchoolClassStudent")
private Long schoolClassStudentId ;
//班级ID
@Dict(type="school_class.class_name.class_status=1")
private Long schoolClassId ;
//学生ID
@Dict(type="student.student_name.student_status=1")
private String studentId ;
//添加时间
private Date addTime ;
//组织机构ID
private Long orgId ;
//后台用户ID
private Long userId ;
public SchoolClassStudent(){
}
/**--ID
*@return
*/
public Long getSchoolClassStudentId(){
return schoolClassStudentId;
}
/**--ID
*@param schoolClassStudentId
*/
public void setSchoolClassStudentId(Long schoolClassStudentId){
this.schoolClassStudentId = schoolClassStudentId;
}
/**ID
*@return
*/
public Long getSchoolClassId(){
return schoolClassId;
}
/**ID
*@param schoolClassId
*/
public void setSchoolClassId(Long schoolClassId){
this.schoolClassId = schoolClassId;
}
/**ID
*@return
*/
public String getStudentId(){
return studentId;
}
/**ID
*@param studentId
*/
public void setStudentId(String studentId){
this.studentId = studentId;
}
/**
*@return
*/
public Date getAddTime(){
return addTime;
}
/**
*@param addTime
*/
public void setAddTime(Date addTime){
this.addTime = addTime;
}
/**ID
*@return
*/
public Long getOrgId(){
return orgId;
}
/**ID
*@param orgId
*/
public void setOrgId(Long orgId){
this.orgId = orgId;
}
/**ID
*@return
*/
public Long getUserId(){
return userId;
}
/**ID
*@param userId
*/
public void setUserId(Long userId){
this.userId = userId;
}
}

@ -1,147 +0,0 @@
package com.ibeetl.jlw.service;
import cn.jlw.util.ToolUtils;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.ibeetl.admin.core.service.CoreBaseService;
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.SchoolClassStudentDao;
import com.ibeetl.jlw.entity.SchoolClassStudent;
import com.ibeetl.jlw.web.query.SchoolClassStudentQuery;
import org.apache.commons.lang3.StringUtils;
import org.beetl.sql.core.SqlId;
import org.beetl.sql.core.engine.PageQuery;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
/**
* Service
* ID使insert(*,true)
*/
@Service
@Transactional
public class SchoolClassStudentService extends CoreBaseService<SchoolClassStudent>{
@Resource private SchoolClassStudentDao schoolClassStudentDao;
public PageQuery<SchoolClassStudent>queryByCondition(PageQuery query){
PageQuery ret = schoolClassStudentDao.queryByCondition(query);
queryListAfter(ret.getList());
return ret;
}
public PageQuery<SchoolClassStudent>queryByConditionQuery(PageQuery query){
PageQuery ret = schoolClassStudentDao.queryByConditionQuery(query);
queryListAfter(ret.getList());
return ret;
}
public void deleteByList(List list){
String ids = "";
ToolUtils.deleteNullList(list);
for(int i=0;null != list && i<list.size();i++){
ids += list.get(i).toString()+(i==list.size()-1?"":",");
}
if(StringUtils.isNotBlank(ids)){
schoolClassStudentDao.deleteSchoolClassStudentByIds(ids);
}
}
public void deleteSchoolClassStudent(String ids){
try {
schoolClassStudentDao.deleteSchoolClassStudentByIds(ids);
} catch (Exception e) {
throw new PlatformException("批量删除班级关联学生失败", e);
}
}
public String addAll(SchoolClassStudentQuery schoolClassStudentQuery){
String msg = "";
List<SchoolClassStudent> schoolClassStudentList = new ArrayList<>();
try {
schoolClassStudentList = JSON.parseArray(schoolClassStudentQuery.getSchoolClassStudentJsonStr(), SchoolClassStudent.class);
} catch (Exception e) {
try {
schoolClassStudentList.add(JSONObject.parseObject(schoolClassStudentQuery.getSchoolClassStudentJsonStr(), SchoolClassStudent.class));
} catch (Exception e1) {}
}
ToolUtils.deleteNullList(schoolClassStudentList);
if(null != schoolClassStudentList && schoolClassStudentList.size()>0){
for(int i=0;i<schoolClassStudentList.size();i++){
SchoolClassStudent schoolClassStudent = schoolClassStudentList.get(i);
schoolClassStudent.setUserId(schoolClassStudentQuery.getUserId());
schoolClassStudent.setOrgId(schoolClassStudentQuery.getOrgId());
}
insertBatch(schoolClassStudentList);
}
return msg;
}
public JsonResult add(SchoolClassStudentQuery schoolClassStudentQuery){
String msg = "";
SchoolClassStudent schoolClassStudent = schoolClassStudentQuery.pojo();
schoolClassStudentDao.insert(schoolClassStudent);
schoolClassStudentQuery.setSchoolClassStudentId(schoolClassStudent.getSchoolClassStudentId());
JsonResult jsonResult = new JsonResult();
jsonResult.setData(schoolClassStudent.getSchoolClassStudentId());//自增的ID丢进去
jsonResult.setCode(JsonReturnCode.SUCCESS.getCode());
jsonResult.setMsg(msg);
return jsonResult;
}
public String edit(SchoolClassStudentQuery schoolClassStudentQuery){
String msg = "";
SchoolClassStudent schoolClassStudent = schoolClassStudentQuery.pojo();
schoolClassStudentDao.updateTemplateById(schoolClassStudent);
return msg;
}
public String updateGivenByIds(SchoolClassStudentQuery schoolClassStudentQuery){
String msg = "";
if(StringUtils.isNotBlank(schoolClassStudentQuery.get_given())){
boolean flag = schoolClassStudentDao.updateGivenByIds(schoolClassStudentQuery) > 0;
if(!flag){
msg = "更新指定参数失败";
}
}else{
msg = "指定参数为空";
}
return msg;
}
public List<SchoolClassStudent> getValues (Object paras){
return sqlManager.select(SqlId.of("jlw.schoolClassStudent.getSchoolClassStudentValues"), SchoolClassStudent.class, paras);
}
public List<SchoolClassStudent> getValuesByQuery (SchoolClassStudentQuery schoolClassStudentQuery){
return schoolClassStudentDao.getValuesByQuery(schoolClassStudentQuery);
}
public SchoolClassStudent getInfo (Long schoolClassStudentId){
SchoolClassStudentQuery schoolClassStudentQuery = new SchoolClassStudentQuery();
schoolClassStudentQuery.setSchoolClassStudentId(schoolClassStudentId);
List<SchoolClassStudent> list = schoolClassStudentDao.getValuesByQuery(schoolClassStudentQuery);
if(null != list && list.size()>0){
return list.get(0);
}else{
return null;
}
}
public SchoolClassStudent getInfo (SchoolClassStudentQuery schoolClassStudentQuery){
List<SchoolClassStudent> list = schoolClassStudentDao.getValuesByQuery(schoolClassStudentQuery);
if(null != list && list.size()>0){
return list.get(0);
}else{
return null;
}
}
}

@ -8,12 +8,12 @@ import com.ibeetl.admin.core.service.CoreBaseService;
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.SchoolClassStudentDao;
import com.ibeetl.jlw.dao.StudentDao;
import com.ibeetl.jlw.dao.TeacherOpenCourseMergeSchoolClassDao;
import com.ibeetl.jlw.dao.TeacherOpenCourseMergeStudentDao;
import com.ibeetl.jlw.entity.Student;
import com.ibeetl.jlw.entity.TeacherOpenCourseMergeSchoolClass;
import com.ibeetl.jlw.entity.TeacherOpenCourseMergeStudent;
import com.ibeetl.jlw.web.query.SchoolClassStudentQuery;
import com.ibeetl.jlw.web.query.TeacherOpenCourseMergeSchoolClassQuery;
import org.apache.commons.lang3.StringUtils;
import org.beetl.sql.core.SqlId;
@ -38,7 +38,7 @@ public class TeacherOpenCourseMergeSchoolClassService extends CoreBaseService<Te
@Resource private TeacherOpenCourseMergeSchoolClassDao teacherOpenCourseMergeSchoolClassDao;
@Resource private TeacherOpenCourseMergeStudentDao teacherOpenCourseMergeStudentDao;
@Resource private SchoolClassStudentDao schoolClassStudentDao;
@Resource private StudentDao studentDao;
public PageQuery<TeacherOpenCourseMergeSchoolClass>queryByCondition(PageQuery query){
PageQuery ret = teacherOpenCourseMergeSchoolClassDao.queryByCondition(query);
@ -109,28 +109,30 @@ public class TeacherOpenCourseMergeSchoolClassService extends CoreBaseService<Te
/**
*
* @param teacherOpenCourseMergeSchoolClassQuery
* @param schoolClassQuery
* @return
*/
public JsonResult add(TeacherOpenCourseMergeSchoolClassQuery teacherOpenCourseMergeSchoolClassQuery){
public JsonResult add(TeacherOpenCourseMergeSchoolClassQuery schoolClassQuery){
String msg = "";
// 构建开课与班级关系数据
TeacherOpenCourseMergeSchoolClass teacherOpenCourseMergeSchoolClass = teacherOpenCourseMergeSchoolClassQuery.pojo();
TeacherOpenCourseMergeSchoolClass teacherOpenCourseMergeSchoolClass = schoolClassQuery.pojo();
teacherOpenCourseMergeSchoolClass.setTeacherOpenCourseMergeSchoolClassAddTime(new Date());
teacherOpenCourseMergeSchoolClass.setTeacherOpenCourseMergeSchoolClassStatus(1);
teacherOpenCourseMergeSchoolClassDao.insert(teacherOpenCourseMergeSchoolClass);
SchoolClassStudentQuery schoolClassStudentQuery = new SchoolClassStudentQuery();
schoolClassStudentQuery.setSchoolClassId(teacherOpenCourseMergeSchoolClass.getSchoolClassId());
// 条件开启状态班级ID
Student student = new Student();
student.setStudentStatus(1);
student.setClassId(teacherOpenCourseMergeSchoolClass.getSchoolClassId());
// 构建开课与学生关系数据
List<TeacherOpenCourseMergeStudent> teacherOpenCourseMergeStudentList = Optional
// 查询该班级下的学生列表
.fromNullable(schoolClassStudentDao.getValuesByQuery(schoolClassStudentQuery)).get()
.fromNullable(studentDao.template(student)).get()
.stream().map(scs -> {
TeacherOpenCourseMergeStudent entity = new TeacherOpenCourseMergeStudent();
entity.setTeacherOpenCourseId(teacherOpenCourseMergeSchoolClass.getTeacherOpenCourseId());
entity.setStudentId(Long.parseLong(scs.getStudentId()));
entity.setStudentId(scs.getStudentId());
entity.setTeacherOpenCourseSchoolClassMergeStudentAddTime(new Date());
return entity;
}).collect(Collectors.toList());
@ -139,7 +141,7 @@ public class TeacherOpenCourseMergeSchoolClassService extends CoreBaseService<Te
teacherOpenCourseMergeStudentDao.insertBatch(teacherOpenCourseMergeStudentList);
// 自增的ID 丢给前端
teacherOpenCourseMergeSchoolClassQuery.setTeacherOpenCourseMergeSchoolClassId(teacherOpenCourseMergeSchoolClass.getTeacherOpenCourseMergeSchoolClassId());
schoolClassQuery.setTeacherOpenCourseMergeSchoolClassId(teacherOpenCourseMergeSchoolClass.getTeacherOpenCourseMergeSchoolClassId());
JsonResult jsonResult = new JsonResult();
jsonResult.setData(teacherOpenCourseMergeSchoolClass.getTeacherOpenCourseMergeSchoolClassId());
jsonResult.setCode(JsonReturnCode.SUCCESS.getCode());

@ -201,8 +201,7 @@ public class TeacherOpenCourseStudentSigninLogService extends CoreBaseService<Te
// 断言验证,学生某个课程只能签到一次。三种签到类型,都可以签到
TeacherOpenCourseStudentSigninLog entity = new TeacherOpenCourseStudentSigninLog();
entity.setStudentId(signinDTO.getStudentId());
entity.setTeacherOpenCourseId(signinSetting.getTeacherOpenCourseId());
entity.setTeacherOpenCourseId(signinSetting.getTeacherOpenCourseId());
entity.setTeacherOpenCourseStudentSigninSettingId(signinSetting.getTeacherOpenCourseStudentSigninSettingId());
Assert.isTrue(ObjectUtil.isEmpty(teacherOpenCourseStudentSigninLogDao.template(entity)), "该学生已经签到过了!");
TeacherOpenCourseMergeStudent paras = new TeacherOpenCourseMergeStudent();
@ -320,9 +319,9 @@ public class TeacherOpenCourseStudentSigninLogService extends CoreBaseService<Te
signinLogQuery.setSchoolClassId(student.getClassId());
signinLogQuery.setStudentId(signinDTO.getStudentId());
// 是否缺
// 是否缺
if(BooleanUtil.isTrue(signinDTO.getIsAbsent())) {
// 断言验证缺时候,必传的字段
// 断言验证缺时候,必传的字段
BeanValidationResult isAbsentValidationResult = ValidationUtil.warpValidate(signinDTO, ManualClass.class);
Assert.isTrue(isAbsentValidationResult.isSuccess(), () -> getFirstErrorMessage(isAbsentValidationResult.getErrorMessages()));
signinLogQuery.setTeacherOpenCourseStudentSigninLogRemark(signinDTO.getTeacherOpenCourseStudentSigninLogRemark());
@ -372,10 +371,11 @@ public class TeacherOpenCourseStudentSigninLogService extends CoreBaseService<Te
/**
*
* TODO mlx
* @param signinDTO
* @param query
* @return
*/
public Object signinLog(TeacherOpenCourseStudentSigninLogSigninDTO signinDTO) {
public Object signinLog(TeacherOpenCourseStudentSigninLogQuery query) {
throw new PlatformException("签到日志接口未实现!");
}
}

@ -106,7 +106,8 @@ public class UniversitiesCollegesService extends CoreBaseService<UniversitiesCol
// 验证 javax.validation.constraints注解
BeanValidationResult beanValidationResult = ValidationUtil.warpValidate(dto);
// 验证通过,代表是要创建院校用户
// 验证通过,代表是要创建院校管理员身份的用户。
// 这里不抛出异常,如果没有验证通过,则不新增用户
if(beanValidationResult.isSuccess()) {
// 默认创建院校管理员权限的用户
Long defaultAdminUserId = coreUserService.createUserBySomeParams(

@ -1,193 +0,0 @@
package com.ibeetl.jlw.web;
import cn.jlw.Interceptor.SCoreUser;
import cn.jlw.validate.ValidateConfig;
import com.ibeetl.admin.core.annotation.Function;
import com.ibeetl.admin.core.entity.CoreUser;
import com.ibeetl.admin.core.file.FileService;
import com.ibeetl.admin.core.web.JsonResult;
import com.ibeetl.jlw.entity.SchoolClassStudent;
import com.ibeetl.jlw.service.SchoolClassStudentService;
import com.ibeetl.jlw.web.query.SchoolClassStudentQuery;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.beetl.sql.core.engine.PageQuery;
import org.springframework.validation.BindingResult;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;
import javax.annotation.Resource;
import java.util.List;
/**
* --
* 线
*/
@RestController
public class SchoolClassStudentController{
private final Log log = LogFactory.getLog(this.getClass());
private static final String MODEL = "/jlw/schoolClassStudent";
private static final String API = "/api/schoolClassStudent";
@Resource private SchoolClassStudentService schoolClassStudentService;
@Resource FileService fileService;
/* 前端接口 */
@PostMapping(API + "/getPageList.do")
public JsonResult<PageQuery> getPageList(SchoolClassStudentQuery condition,@SCoreUser CoreUser coreUser){
if(null == coreUser){
return JsonResult.failMessage("请登录后再操作");
}else{
PageQuery page = condition.getPageQuery();
schoolClassStudentService.queryByConditionQuery(page);
return JsonResult.success(page);
}
}
@GetMapping(API + "/getInfo.do")
public JsonResult<SchoolClassStudent>getInfo(SchoolClassStudentQuery param,@SCoreUser CoreUser coreUser) {
if(null == coreUser){
return JsonResult.failMessage("请登录后再操作");
}else{
SchoolClassStudent schoolClassStudent = schoolClassStudentService.getInfo(param);
return JsonResult.success(schoolClassStudent);
}
}
@GetMapping(API + "/getList.do")
public JsonResult<List<SchoolClassStudent>>getList(SchoolClassStudentQuery param,@SCoreUser CoreUser coreUser) {
if(null == coreUser){
return JsonResult.failMessage("请登录后再操作");
}else{
List<SchoolClassStudent>list = schoolClassStudentService.getValuesByQuery(param);
return JsonResult.success(list);
}
}
/* 后台页面 */
@GetMapping(MODEL + "/index.do")
@Function("schoolClassStudent.query")
public ModelAndView index() {
ModelAndView view = new ModelAndView("/jlw/schoolClassStudent/index.html") ;
view.addObject("search", SchoolClassStudentQuery.class.getName());
return view;
}
@GetMapping(MODEL + "/edit.do")
@Function("schoolClassStudent.edit")
public ModelAndView edit(Long schoolClassStudentId) {
ModelAndView view = new ModelAndView("/jlw/schoolClassStudent/edit.html");
SchoolClassStudent schoolClassStudent = schoolClassStudentService.queryById(schoolClassStudentId);
view.addObject("schoolClassStudent", schoolClassStudent);
return view;
}
@GetMapping(MODEL + "/add.do")
@Function("schoolClassStudent.add")
public ModelAndView add(Long schoolClassStudentId) {
ModelAndView view = new ModelAndView("/jlw/schoolClassStudent/add.html");
if(null != schoolClassStudentId){
SchoolClassStudent schoolClassStudent = schoolClassStudentService.queryById(schoolClassStudentId);
view.addObject("schoolClassStudent", schoolClassStudent);
}else {
view.addObject("schoolClassStudent", new SchoolClassStudent());
}
return view;
}
/* 后台接口 */
@PostMapping(MODEL + "/list.json")
@Function("schoolClassStudent.query")
public JsonResult<PageQuery> list(SchoolClassStudentQuery condition){
PageQuery page = condition.getPageQuery();
schoolClassStudentService.queryByCondition(page);
return JsonResult.success(page);
}
@PostMapping(MODEL + "/addAll.json")
@Function("schoolClassStudent.add")
public JsonResult addAll(SchoolClassStudentQuery schoolClassStudentQuery,@SCoreUser CoreUser coreUser){
if(null == coreUser){
return JsonResult.failMessage("请登录后再操作");
}else{
schoolClassStudentQuery.setUserId(coreUser.getId());
schoolClassStudentQuery.setOrgId(coreUser.getOrgId());
String msg = schoolClassStudentService.addAll(schoolClassStudentQuery);
if (StringUtils.isBlank(msg)) {
return JsonResult.success();
} else {
return JsonResult.failMessage("新增失败,"+msg);
}
}
}
@PostMapping(MODEL + "/add.json")
@Function("schoolClassStudent.add")
public JsonResult add(@Validated(ValidateConfig.ADD.class) SchoolClassStudentQuery schoolClassStudentQuery, BindingResult result,@SCoreUser CoreUser coreUser){
if(result.hasErrors()){
return JsonResult.failMessage(result);
}else{
schoolClassStudentQuery.setUserId(coreUser.getId());
schoolClassStudentQuery.setOrgId(coreUser.getOrgId());
return schoolClassStudentService.add(schoolClassStudentQuery);
}
}
@PostMapping(MODEL + "/edit.json")
@Function("schoolClassStudent.edit")
public JsonResult<String> update(@Validated(ValidateConfig.UPDATE.class) SchoolClassStudentQuery schoolClassStudentQuery, BindingResult result) {
if(result.hasErrors()){
return JsonResult.failMessage(result);
}else {
schoolClassStudentQuery.setUserId(null);
schoolClassStudentQuery.setOrgId(null);
String msg = schoolClassStudentService.edit(schoolClassStudentQuery);
if (StringUtils.isBlank(msg)) {
return JsonResult.success();
} else {
return JsonResult.failMessage("更新失败,"+msg);
}
}
}
@GetMapping(MODEL + "/view.json")
@Function("schoolClassStudent.query")
public JsonResult<SchoolClassStudent>queryInfo(Long schoolClassStudentId) {
SchoolClassStudent schoolClassStudent = schoolClassStudentService.queryById( schoolClassStudentId);
return JsonResult.success(schoolClassStudent);
}
@GetMapping(MODEL + "/getValues.json")
@Function("schoolClassStudent.query")
public JsonResult<List<SchoolClassStudent>>getValues(SchoolClassStudentQuery param) {
List<SchoolClassStudent>list = schoolClassStudentService.getValuesByQuery(param);
return JsonResult.success(list);
}
@PostMapping(MODEL + "/delete.json")
@Function("schoolClassStudent.delete")
@ResponseBody
public JsonResult delete(String ids) {
schoolClassStudentService.deleteSchoolClassStudent(ids);
return JsonResult.success();
}
}

@ -206,14 +206,14 @@ public class TeacherOpenCourseStudentSigninLogController{
/**
* -
* @param signinDTO DTO
* @param query
* @return
*/
@PostMapping(MODEL + "/signinLog.json")
@Function("teacherOpenCourseStudentSigninLog.add")
@ResponseBody
public JsonResult signinLog(TeacherOpenCourseStudentSigninLogSigninDTO signinDTO) {
return JsonResult.success(teacherOpenCourseStudentSigninLogService.signinLog(signinDTO));
public JsonResult signinLog(TeacherOpenCourseStudentSigninLogQuery query) {
return JsonResult.success(teacherOpenCourseStudentSigninLogService.signinLog(query));
}
}

@ -1,122 +0,0 @@
package com.ibeetl.jlw.web.query;
import cn.jlw.validate.ValidateConfig;
import com.ibeetl.admin.core.annotation.Query;
import com.ibeetl.admin.core.web.query.PageParam;
import com.ibeetl.jlw.entity.SchoolClassStudent;
import javax.validation.constraints.NotNull;
import java.util.Date;
/**
*
*/
public class SchoolClassStudentQuery extends PageParam {
@NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
@Query(name = "班级-学生-关联ID", display = false)
private Long schoolClassStudentId;
@Query(name = "班级ID", display = true,type=Query.TYPE_DICT,dict="school_class.class_name.class_status=1")
private Long schoolClassId;
@Query(name = "学生ID", display = true,type=Query.TYPE_DICT,dict="student.student_name.student_status=1")
private String studentId;
@Query(name = "添加时间", display = false)
private Date addTime;
@Query(name = "组织机构ID", display = false)
private Long orgId;
@Query(name = "后台用户ID", display = false)
private Long userId;
private String schoolClassStudentIdPlural;
private String schoolClassIdPlural;
private String orgIdPlural;
private String userIdPlural;
private String schoolClassStudentJsonStr;//json格式
private String _given;//指定更新的特定字段,多个逗号隔开
public Long getSchoolClassStudentId(){
return schoolClassStudentId;
}
public void setSchoolClassStudentId(Long schoolClassStudentId ){
this.schoolClassStudentId = schoolClassStudentId;
}
public Long getSchoolClassId(){
return schoolClassId;
}
public void setSchoolClassId(Long schoolClassId ){
this.schoolClassId = schoolClassId;
}
public String getStudentId(){
return studentId;
}
public void setStudentId(String studentId ){
this.studentId = studentId;
}
public Date getAddTime(){
return addTime;
}
public void setAddTime(Date addTime ){
this.addTime = addTime;
}
public Long getOrgId(){
return orgId;
}
public void setOrgId(Long orgId ){
this.orgId = orgId;
}
public Long getUserId(){
return userId;
}
public void setUserId(Long userId ){
this.userId = userId;
}
public SchoolClassStudent pojo(){
SchoolClassStudent pojo = new SchoolClassStudent();
pojo.setSchoolClassStudentId(this.getSchoolClassStudentId());
pojo.setSchoolClassId(this.getSchoolClassId());
pojo.setStudentId(this.getStudentId());
pojo.setAddTime(this.getAddTime());
pojo.setOrgId(this.getOrgId());
pojo.setUserId(this.getUserId());
return pojo;
}
public String getSchoolClassStudentIdPlural(){
return schoolClassStudentIdPlural;
}
public void setSchoolClassStudentIdPlural(String schoolClassStudentIdPlural){
this.schoolClassStudentIdPlural = schoolClassStudentIdPlural;
}
public String getSchoolClassIdPlural(){
return schoolClassIdPlural;
}
public void setSchoolClassIdPlural(String schoolClassIdPlural){
this.schoolClassIdPlural = schoolClassIdPlural;
}
public String getOrgIdPlural(){
return orgIdPlural;
}
public void setOrgIdPlural(String orgIdPlural){
this.orgIdPlural = orgIdPlural;
}
public String getUserIdPlural(){
return userIdPlural;
}
public void setUserIdPlural(String userIdPlural){
this.userIdPlural = userIdPlural;
}
public String getSchoolClassStudentJsonStr(){
return schoolClassStudentJsonStr;
}
public void setSchoolClassStudentJsonStr(String schoolClassStudentJsonStr ){
this.schoolClassStudentJsonStr = schoolClassStudentJsonStr;
}
public String get_given() {
return _given;
}
public void set_given(String _given) {
this._given = _given;
}
}

@ -143,6 +143,7 @@ public class TeacherOpenCourseStudentSigninLogQuery extends PageParam {
pojo.setTeacherOpenCourseStudentSigninLogIp(this.getTeacherOpenCourseStudentSigninLogIp());
pojo.setTeacherOpenCourseStudentSigninLogTag(this.getTeacherOpenCourseStudentSigninLogTag());
pojo.setTeacherOpenCourseStudentSigninSettingId(this.getTeacherOpenCourseStudentSigninSettingId());
pojo.setTeacherOpenCourseStudentSigninSettingSessionTime(this.getTeacherOpenCourseStudentSigninSettingSessionTime());
pojo.setOrgId(this.getOrgId());
pojo.setUserId(this.getUserId());
return pojo;

@ -1,219 +0,0 @@
queryByCondition
===
* 根据不为空的参数进行分页查询
select
@pageTag(){
t.*
@}
from school_class_student t
where 1=1
@//数据权限该sql语句功能点,如果不考虑数据权限,可以删除此行
and #function("schoolClassStudent.query")#
@if(!isEmpty(schoolClassStudentId)){
and t.school_class_student_id =#schoolClassStudentId#
@}
@if(!isEmpty(schoolClassStudentIdPlural)){
and find_in_set(t.school_class_student_id,#schoolClassStudentIdPlural#)
@}
@if(!isEmpty(schoolClassId)){
and t.school_class_id =#schoolClassId#
@}
@if(!isEmpty(schoolClassIdPlural)){
and find_in_set(t.school_class_id,#schoolClassIdPlural#)
@}
@if(!isEmpty(studentId)){
and t.student_id =#studentId#
@}
@if(!isEmpty(addTime)){
and t.add_time =#addTime#
@}
@if(!isEmpty(orgId)){
and t.org_id =#orgId#
@}
@if(!isEmpty(orgIdPlural)){
and find_in_set(t.org_id,#orgIdPlural#)
@}
@if(!isEmpty(userId)){
and t.user_id =#userId#
@}
@if(!isEmpty(userIdPlural)){
and find_in_set(t.user_id,#userIdPlural#)
@}
queryByConditionQuery
===
* 根据不为空的参数进行分页查询(无权限)
select
@pageTag(){
t.*
@}
from school_class_student t
where 1=1
@if(!isEmpty(schoolClassStudentId)){
and t.school_class_student_id =#schoolClassStudentId#
@}
@if(!isEmpty(schoolClassStudentIdPlural)){
and find_in_set(t.school_class_student_id,#schoolClassStudentIdPlural#)
@}
@if(!isEmpty(schoolClassId)){
and t.school_class_id =#schoolClassId#
@}
@if(!isEmpty(schoolClassIdPlural)){
and find_in_set(t.school_class_id,#schoolClassIdPlural#)
@}
@if(!isEmpty(studentId)){
and t.student_id =#studentId#
@}
@if(!isEmpty(addTime)){
and t.add_time =#addTime#
@}
@if(!isEmpty(orgId)){
and t.org_id =#orgId#
@}
@if(!isEmpty(orgIdPlural)){
and find_in_set(t.org_id,#orgIdPlural#)
@}
@if(!isEmpty(userId)){
and t.user_id =#userId#
@}
@if(!isEmpty(userIdPlural)){
and find_in_set(t.user_id,#userIdPlural#)
@}
deleteSchoolClassStudentByIds
===
* 批量删除
delete from school_class_student where find_in_set(school_class_student_id,#ids#)
getByIds
===
select * from school_class_student where find_in_set(school_class_student_id,#ids#)
updateGivenByIds
===
* 批量更新指定字段,无论此字段是否有值
update school_class_student
set
@if(contain("schoolClassId",_given)){
@if(isEmpty(schoolClassId)){
school_class_id = null ,
@}else{
school_class_id = #schoolClassId# ,
@}
@}
@if(contain("studentId",_given)){
@if(isEmpty(studentId)){
student_id = null ,
@}else{
student_id = #studentId# ,
@}
@}
@if(contain("addTime",_given)){
@if(isEmpty(addTime)){
add_time = null ,
@}else{
add_time = #addTime# ,
@}
@}
@if(contain("orgId",_given)){
@if(isEmpty(orgId)){
org_id = null ,
@}else{
org_id = #orgId# ,
@}
@}
@if(contain("userId",_given)){
@if(isEmpty(userId)){
user_id = null ,
@}else{
user_id = #userId# ,
@}
@}
school_class_student_id = school_class_student_id
where find_in_set(school_class_student_id,#schoolClassStudentIdPlural#)
getSchoolClassStudentValues
===
* 根据不为空的参数进行查询
select t.*
from school_class_student t
where 1=1
@if(!isEmpty(schoolClassStudentId)){
and t.school_class_student_id =#schoolClassStudentId#
@}
@if(!isEmpty(schoolClassId)){
and t.school_class_id =#schoolClassId#
@}
@if(!isEmpty(studentId)){
and t.student_id =#studentId#
@}
@if(!isEmpty(addTime)){
and t.add_time =#addTime#
@}
@if(!isEmpty(orgId)){
and t.org_id =#orgId#
@}
@if(!isEmpty(userId)){
and t.user_id =#userId#
@}
getValuesByQuery
===
* 根据不为空的参数进行查询
select t.*
from school_class_student t
where 1=1 and #function("schoolClassStudent.query")#
@if(!isEmpty(schoolClassStudentId)){
and t.school_class_student_id =#schoolClassStudentId#
@}
@if(!isEmpty(schoolClassStudentIdPlural)){
and find_in_set(t.school_class_student_id,#schoolClassStudentIdPlural#)
@}
@if(!isEmpty(schoolClassId)){
and t.school_class_id =#schoolClassId#
@}
@if(!isEmpty(schoolClassIdPlural)){
and find_in_set(t.school_class_id,#schoolClassIdPlural#)
@}
@if(!isEmpty(studentId)){
and t.student_id =#studentId#
@}
@if(!isEmpty(addTime)){
and t.add_time =#addTime#
@}
@if(!isEmpty(orgId)){
and t.org_id =#orgId#
@}
@if(!isEmpty(orgIdPlural)){
and find_in_set(t.org_id,#orgIdPlural#)
@}
@if(!isEmpty(userId)){
and t.user_id =#userId#
@}
@if(!isEmpty(userIdPlural)){
and find_in_set(t.user_id,#userIdPlural#)
@}

@ -1,38 +0,0 @@
layui.define([ 'form', 'laydate', 'table','schoolClassStudentApi'], function(exports) {
var form = layui.form;
var schoolClassStudentApi = layui.schoolClassStudentApi;
var index = layui.index;
var view = {
init:function(){
Lib.initGenrealForm($("#addForm"),form);
this.initSubmit();
},
initSubmit:function(){
$("#addButton").click(function(){
form.on('submit(form)', function(){
var schoolClassStudentId = $("#addForm input[name='schoolClassStudentId']").val();
if(!$.isEmpty(schoolClassStudentId)){
schoolClassStudentApi.updateSchoolClassStudent($('#addForm'),function(){
parent.window.dataReload();
Common.info("更新成功");
Lib.closeFrame();
});
}else{
schoolClassStudentApi.addSchoolClassStudent($('#addForm'),function(){
parent.window.dataReload();
Common.info("添加成功");
Lib.closeFrame();
});
}
});
});
$("#addButton-cancel").click(function(){
Lib.closeFrame();
});
}
}
exports('add',view);
});

@ -1,23 +0,0 @@
layui.define(['table', 'schoolClassStudentApi'], function(exports) {
var schoolClassStudentApi = layui.schoolClassStudentApi;
var table=layui.table;
var view = {
init:function(){
},
delBatch:function(){
var data = Common.getMoreDataFromTable(table,"schoolClassStudentTable");
if(data==null){
return ;
}
Common.openConfirm("确认要删除这些班级关联学生?",function(){
var ids =Common.concatBatchId(data,"schoolClassStudentId");
schoolClassStudentApi.del(ids,function(){
Common.info("删除成功");
dataReload();
})
})
}
}
exports('del',view);
});

@ -1,28 +0,0 @@
layui.define([ 'form', 'laydate', 'table','schoolClassStudentApi'], function(exports) {
var form = layui.form;
var schoolClassStudentApi = layui.schoolClassStudentApi;
var index = layui.index;
var view = {
init:function(){
Lib.initGenrealForm($("#updateForm"),form);
this.initSubmit();
},
initSubmit:function(){
$("#updateButton").click(function(){
form.on('submit(form)', function(){
schoolClassStudentApi.updateSchoolClassStudent($('#updateForm'),function(){
parent.window.dataReload();
Common.info("更新成功");
Lib.closeFrame();
});
});
});
$("#updateButton-cancel").click(function(){
Lib.closeFrame();
});
}
}
exports('edit',view);
});

@ -1,164 +0,0 @@
layui.define([ 'form', 'laydate', 'table' ], function(exports) {
var form = layui.form;
var laydate = layui.laydate;
var table = layui.table;
var schoolClassStudentTable = null;
var view ={
init:function(){
var that = this
this.initTable();
this.initSearchForm();
this.initToolBar();
window.dataReload = function(){
Lib.doSearchForm($("#searchForm"),schoolClassStudentTable)
that.initToolBar();
}
},
initTable:function(){
var sx_ = localStorage.getItem("schoolClassStudentTable_field_"+Common.userInfoId); //筛选值显示、隐藏缓存
if($.isEmpty(sx_)){sx_ = {};}else {sx_ = JSON.parse(sx_);}
schoolClassStudentTable = table.render({
elem : '#schoolClassStudentTable',
height : Lib.getTableHeight(1),
cellMinWidth: 100,
method : 'post',
url : Common.ctxPath + '/jlw/schoolClassStudent/list.json' // 数据接口
,page : Lib.tablePage // 开启分页
,toolbar: '#toolbar_schoolClassStudent' //自定义头部左侧工具栏
,defaultToolbar: ['filter', 'print', 'exports'] //头部右侧工具栏
,limit : 10,
cols : [ [ // 表头
{
type : 'checkbox',
},
{
field : 'schoolClassStudentId',
title : '班级-学生-关联ID',
align:"center",
hideField :false,
hide:$.isEmpty(sx_['schoolClassStudentId'])?false:sx_['schoolClassStudentId'],
width : 60,
},
{
field : 'schoolClassIdText', //数据字典类型为 school_class.class_name.class_status=1
title : '班级ID',
align:"center",
hideField :false,
hide:$.isEmpty(sx_['schoolClassIdText'])?false:sx_['schoolClassIdText'],
},
{
field : 'studentIdText', //数据字典类型为 student.student_name.student_status=1
title : '学生ID',
align:"center",
hideField :false,
hide:$.isEmpty(sx_['studentIdText'])?false:sx_['studentIdText'],
},
{
field : 'addTime',
title : '添加时间',
align:"center",
hideField :false,
hide:$.isEmpty(sx_['addTime'])?false:sx_['addTime'],
},
{
field : 'orgId',
title : '组织机构ID',
align:"center",
hideField :false,
hide:$.isEmpty(sx_['orgId'])?false:sx_['orgId'],
},
{
field : 'userId',
title : '后台用户ID',
align:"center",
hideField :false,
hide:$.isEmpty(sx_['userId'])?false:sx_['userId'],
}
,{
field : 'operation_',title : '操作',align:"center", templet: function (d) {
var htm = '<button type="button" class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit">编辑</button>';
htm += '<button type="button" class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</button>';
return htm;
}
}
] ]
});
table.on('checkbox(schoolClassStudentTable)', function(obj){
var schoolClassStudent = obj.data;
if(obj.checked){
//按钮逻辑Lib.buttonEnable()
}else{
}
})
},
initSearchForm:function(){
Lib.initSearchForm( $("#searchForm"),schoolClassStudentTable,form);
},
initToolBar:function(){
toolbar = {
add: function () {
var url = "/jlw/schoolClassStudent/add.do";
Common.openDlg(url,"班级关联学生管理>新增");
},
edit: function () {
var data = Common.getOneFromTable(table,"schoolClassStudentTable");
if(data==null){
return ;
}
var url = "/jlw/schoolClassStudent/add.do?schoolClassStudentId="+data.schoolClassStudentId;
Common.openDlg(url,"班级关联学生管理>"+data.schoolClassStudentId+">编辑");
},
del: function () {
layui.use(['del'], function(){
var delView = layui.del
delView.delBatch();
});
},
search: function () {
Lib.doSearchForm($("#searchForm"), schoolClassStudentTable, 1);
view.initToolBar()
},
refresh: function () {
searchForm.reset();
Lib.doSearchForm($("#searchForm"), schoolClassStudentTable, 1);
view.initToolBar()
},
}
//触发事件
$('.ext-toolbar').on('click', function() {
var type = $(this).data('type');
toolbar[type] ? toolbar[type].call(this) : '';
});
}, initTableTool: table.on('tool(schoolClassStudentTable)', function (obj) {
var data = obj.data;
if (obj.event === 'edit') {
var url = "/jlw/schoolClassStudent/add.do?schoolClassStudentId="+data.schoolClassStudentId;
Common.openDlg(url,"班级关联学生管理>"+data.schoolClassStudentId+">编辑");
}else if(obj.event === "del"){
layer.confirm('是否确定删除该信息?', function (index) {
var ret = Common.postAjax("/jlw/schoolClassStudent/delete.json",{ids:data.schoolClassStudentId});
layer.msg(ret.code == 0?"删除成功!":ret.msg, {
offset: ['50%'],
icon: ret.code == 0?1:2,
time: 1500 //2秒关闭如果不配置默认是3秒
},function (){
if(ret.code == 0){
Lib.tableRefresh();
}
});
});
}
})
}
exports('index',view);
});

@ -1,18 +0,0 @@
/*访问后台的代码*/
layui.define([], function(exports) {
var api={
updateSchoolClassStudent:function(form,callback){
Lib.submitForm("/jlw/schoolClassStudent/edit.json",form,{},callback)
},
addSchoolClassStudent:function(form,callback){
Lib.submitForm("/jlw/schoolClassStudent/add.json",form,{},callback)
},
del:function(ids,callback){
Common.post("/jlw/schoolClassStudent/delete.json",{"ids":ids},function(){
callback();
})
}
};
exports('schoolClassStudentApi',api);
});

@ -1,58 +0,0 @@
<!--# layout("/common/layout.html",{"jsBase":"/js/jlw/schoolClassStudent/"}){ -->
<form class="layui-form" id="addForm">
<div class="layui-row">
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">班级ID</label>
<div class="layui-input-inline">
<layui:simpleDictSelect style='layui-input-inline' type="school_class.class_name.class_status=1"
id="schoolClassId" name="schoolClassId" value="${schoolClassStudent.schoolClassId}" layVerify="" />
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">学生ID</label>
<div class="layui-input-inline">
<layui:simpleDictSelect style='layui-input-inline' type="student.student_name.student_status=1"
id="studentId" name="studentId" value="${schoolClassStudent.studentId}" layVerify="" />
</div>
</div>
</div>
</div>
<div class="layui-row">
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">添加时间</label>
<div class="layui-input-inline">
<input type="text" id="addTime" name="addTime" value="${schoolClassStudent.addTime,"yyyy-MM-dd"}" class="layui-input input-date" >
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">组织机构ID</label>
<div class="layui-input-inline">
<input type="text" id="orgId" name="orgId" value="${schoolClassStudent.orgId}" class="layui-input" >
</div>
</div>
</div>
</div>
<div class="layui-row">
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">后台用户ID</label>
<div class="layui-input-inline">
<input type="text" id="userId" name="userId" value="${schoolClassStudent.userId}" class="layui-input" >
</div>
</div>
</div>
</div>
<!-- 业务对象须有hidden字段保存delFlag和version字段-->
<input type="hidden" name="schoolClassStudentId" value="${schoolClassStudent.schoolClassStudentId}" />
<layui:submitButtons id="addButton" buttonType="" showExamine="2" />
</form>
<!--#} -->
<script>
layui.use(['add'], function(){
var schoolClassStudentAdd = layui.add
schoolClassStudentAdd.init();
});
</script>

@ -1,58 +0,0 @@
<!--# layout("/common/layout.html",{"jsBase":"/js/jlw/schoolClassStudent/"}){ -->
<form class="layui-form" id="updateForm">
<div class="layui-row">
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">班级ID</label>
<div class="layui-input-inline">
<layui:simpleDictSelect style='layui-input-inline' type="school_class.class_name.class_status=1"
id="schoolClassId" name="schoolClassId" value="${schoolClassStudent.schoolClassId}" layVerify="" />
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">学生ID</label>
<div class="layui-input-inline">
<layui:simpleDictSelect style='layui-input-inline' type="student.student_name.student_status=1"
id="studentId" name="studentId" value="${schoolClassStudent.studentId}" layVerify="" />
</div>
</div>
</div>
</div>
<div class="layui-row">
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">添加时间</label>
<div class="layui-input-inline">
<input type="text" id="addTime" name="addTime" value="${schoolClassStudent.addTime,"yyyy-MM-dd"}" class="layui-input input-date" >
</div>
</div>
<div class="layui-inline">
<label class="layui-form-label">组织机构ID</label>
<div class="layui-input-inline">
<input type="text" id="orgId" name="orgId" value="${schoolClassStudent.orgId}" class="layui-input" >
</div>
</div>
</div>
</div>
<div class="layui-row">
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">后台用户ID</label>
<div class="layui-input-inline">
<input type="text" id="userId" name="userId" value="${schoolClassStudent.userId}" class="layui-input" >
</div>
</div>
</div>
</div>
<!-- 业务对象须有hidden字段保存delFlag和version字段-->
<input type="hidden" name="schoolClassStudentId" value="${schoolClassStudent.schoolClassStudentId}" />
<layui:submitButtons id="updateButton" buttonType="" showExamine="2" />
</form>
<!--#} -->
<script>
layui.use(['edit'], function(){
var schoolClassStudentEdit = layui.edit
schoolClassStudentEdit.init();
});
</script>

@ -1,29 +0,0 @@
<!--#layout("/common/layout.html",{"jsBase":"/js/jlw/schoolClassStudent/"}){ -->
<layui:searchForm formId="searchForm" searchList="" condition="${search}">
</layui:searchForm>
<table id="schoolClassStudentTable" lay-filter="schoolClassStudentTable"></table>
<!--#} -->
<script type="text/html" id="toolbar_schoolClassStudent">
<div class="layui-btn-container">
<div class="layui-btn-group" >
<!--# if(core.searchIsShow(search)) {-->
<layui:accessButton function="schoolClassStudent.query" id="searchFormSearch" action="search"><i class="layui-icon">&#xe615;</i>搜索</layui:accessButton>
<!--# }-->
<layui:accessButton function="schoolClassStudent.add" action="add">添加</layui:accessButton>
<layui:accessButton function="schoolClassStudent.edit" action="edit">修改</layui:accessButton>
<layui:accessButton function="schoolClassStudent.del" action="del">删除</layui:accessButton>
<!--# if(!isEmpty(search)) {-->
<layui:accessButton function="schoolClassStudent.query" action="refresh"><i class="layui-icon">&#xe669;</i>刷新</layui:accessButton>
<!--# }-->
</div>
</div>
</script>
<script>
layui.use(['index'], function(){
var index = layui.index;
index.init();
});
</script>
Loading…
Cancel
Save