Ver Fonte

Merge branch 'feature/0406-bugfix' into master_saas

Eric há 2 anos atrás
pai
commit
6d3ec29e71

+ 1 - 1
mec-biz/src/main/java/com/ym/mec/biz/dal/entity/Teacher.java

@@ -134,7 +134,7 @@ public class Teacher extends SysUser {
 	@ApiModelProperty(value = "岗位管理部门",required = false)
 	private String postDeptIds;
 
-	@ApiModelProperty(value = "教练限制")
+	@ApiModelProperty(value = "教练限制")
 	private Boolean coursewareLimit;
 
 	public Boolean getIsSettlementSalary() {

+ 3 - 0
mec-biz/src/main/resources/config/mybatis/TeacherMapper.xml

@@ -327,6 +327,9 @@
             <if test="postDeptIds != null">
                 post_dept_ids_ = #{postDeptIds},
             </if>
+            <if test="coursewareLimit != null">
+                courseware_limit_ = #{coursewareLimit},
+            </if>
         </set>
         WHERE id_ = #{id} and tenant_id_ = #{tenantId}
     </update>