Commit c01fdc3c by zhengxj

finish 修正updateby,createby数据类型 on 20190409 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@19422 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 60e63c96
...@@ -116,6 +116,14 @@ ...@@ -116,6 +116,14 @@
<fork>true</fork> <!-- 如果没有该配置,devtools不会生效 --> <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>
</build> </build>
......
...@@ -51,7 +51,7 @@ import com.glsx.usercenter.utils.ShiroUtil; ...@@ -51,7 +51,7 @@ import com.glsx.usercenter.utils.ShiroUtil;
* *
*/ */
@RestController @RestController
@RequestMapping("/organization") @RequestMapping("/organization")
public class OrganizationController extends BaseController{ public class OrganizationController extends BaseController{
...@@ -103,7 +103,7 @@ public class OrganizationController extends BaseController{ ...@@ -103,7 +103,7 @@ public class OrganizationController extends BaseController{
public ResultObject add( SysOrganization sysOrganization) { public ResultObject add( SysOrganization sysOrganization) {
Integer userId=ShiroUtil.getUserId(); Integer userId=ShiroUtil.getUserId();
sysOrganization.setCreateTime(new Date()); sysOrganization.setCreateTime(new Date());
sysOrganization.setCreateBy(ShiroUtil.getUsername()); sysOrganization.setCreateBy(userId);
if(sysOrganization.getOrgType()==null){ if(sysOrganization.getOrgType()==null){
sysOrganization.setOrgType((byte)1); sysOrganization.setOrgType((byte)1);
} }
...@@ -143,4 +143,6 @@ public class OrganizationController extends BaseController{ ...@@ -143,4 +143,6 @@ public class OrganizationController extends BaseController{
return new ResultObject(ResultCodeEnum.SUCCESS.getCode() , ResultCodeEnum.SUCCESS.getMsg(),sysOrganization); return new ResultObject(ResultCodeEnum.SUCCESS.getCode() , ResultCodeEnum.SUCCESS.getMsg(),sysOrganization);
} }
} }
...@@ -30,9 +30,9 @@ public class SysMenu { ...@@ -30,9 +30,9 @@ public class SysMenu {
private String remark; private String remark;
private String updateBy; private Integer updateBy;
private String createBy; private Integer createBy;
private Byte label; private Byte label;
...@@ -167,20 +167,20 @@ public class SysMenu { ...@@ -167,20 +167,20 @@ public class SysMenu {
this.remark = remark == null ? null : remark.trim(); this.remark = remark == null ? null : remark.trim();
} }
public String getUpdateBy() { public Integer getUpdateBy() {
return updateBy; return updateBy;
} }
public void setUpdateBy(String updateBy) { public void setUpdateBy(Integer updateBy) {
this.updateBy = updateBy == null ? null : updateBy.trim(); this.updateBy = updateBy;
} }
public String getCreateBy() { public Integer getCreateBy() {
return createBy; return createBy;
} }
public void setCreateBy(String createBy) { public void setCreateBy(Integer createBy) {
this.createBy = createBy == null ? null : createBy.trim(); this.createBy = createBy;
} }
public Byte getLabel() { public Byte getLabel() {
......
...@@ -945,62 +945,62 @@ public class SysMenuExample { ...@@ -945,62 +945,62 @@ public class SysMenuExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByEqualTo(String value) { public Criteria andUpdateByEqualTo(Integer value) {
addCriterion("update_by =", value, "updateBy"); addCriterion("update_by =", value, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByNotEqualTo(String value) { public Criteria andUpdateByNotEqualTo(Integer value) {
addCriterion("update_by <>", value, "updateBy"); addCriterion("update_by <>", value, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByGreaterThan(String value) { public Criteria andUpdateByGreaterThan(Integer value) {
addCriterion("update_by >", value, "updateBy"); addCriterion("update_by >", value, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByGreaterThanOrEqualTo(String value) { public Criteria andUpdateByGreaterThanOrEqualTo(Integer value) {
addCriterion("update_by >=", value, "updateBy"); addCriterion("update_by >=", value, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByLessThan(String value) { public Criteria andUpdateByLessThan(Integer value) {
addCriterion("update_by <", value, "updateBy"); addCriterion("update_by <", value, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByLessThanOrEqualTo(String value) { public Criteria andUpdateByLessThanOrEqualTo(Integer value) {
addCriterion("update_by <=", value, "updateBy"); addCriterion("update_by <=", value, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByLike(String value) { public Criteria andUpdateByLike(Integer value) {
addCriterion("update_by like", value, "updateBy"); addCriterion("update_by like", value, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByNotLike(String value) { public Criteria andUpdateByNotLike(Integer value) {
addCriterion("update_by not like", value, "updateBy"); addCriterion("update_by not like", value, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByIn(List<String> values) { public Criteria andUpdateByIn(List<Integer> values) {
addCriterion("update_by in", values, "updateBy"); addCriterion("update_by in", values, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByNotIn(List<String> values) { public Criteria andUpdateByNotIn(List<Integer> values) {
addCriterion("update_by not in", values, "updateBy"); addCriterion("update_by not in", values, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByBetween(String value1, String value2) { public Criteria andUpdateByBetween(Integer value1, Integer value2) {
addCriterion("update_by between", value1, value2, "updateBy"); addCriterion("update_by between", value1, value2, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByNotBetween(String value1, String value2) { public Criteria andUpdateByNotBetween(Integer value1, Integer value2) {
addCriterion("update_by not between", value1, value2, "updateBy"); addCriterion("update_by not between", value1, value2, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
...@@ -1015,62 +1015,62 @@ public class SysMenuExample { ...@@ -1015,62 +1015,62 @@ public class SysMenuExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByEqualTo(String value) { public Criteria andCreateByEqualTo(Integer value) {
addCriterion("create_by =", value, "createBy"); addCriterion("create_by =", value, "createBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByNotEqualTo(String value) { public Criteria andCreateByNotEqualTo(Integer value) {
addCriterion("create_by <>", value, "createBy"); addCriterion("create_by <>", value, "createBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByGreaterThan(String value) { public Criteria andCreateByGreaterThan(Integer value) {
addCriterion("create_by >", value, "createBy"); addCriterion("create_by >", value, "createBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByGreaterThanOrEqualTo(String value) { public Criteria andCreateByGreaterThanOrEqualTo(Integer value) {
addCriterion("create_by >=", value, "createBy"); addCriterion("create_by >=", value, "createBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByLessThan(String value) { public Criteria andCreateByLessThan(Integer value) {
addCriterion("create_by <", value, "createBy"); addCriterion("create_by <", value, "createBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByLessThanOrEqualTo(String value) { public Criteria andCreateByLessThanOrEqualTo(Integer value) {
addCriterion("create_by <=", value, "createBy"); addCriterion("create_by <=", value, "createBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByLike(String value) { public Criteria andCreateByLike(Integer value) {
addCriterion("create_by like", value, "createBy"); addCriterion("create_by like", value, "createBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByNotLike(String value) { public Criteria andCreateByNotLike(Integer value) {
addCriterion("create_by not like", value, "createBy"); addCriterion("create_by not like", value, "createBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByIn(List<String> values) { public Criteria andCreateByIn(List<Integer> values) {
addCriterion("create_by in", values, "createBy"); addCriterion("create_by in", values, "createBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByNotIn(List<String> values) { public Criteria andCreateByNotIn(List<Integer> values) {
addCriterion("create_by not in", values, "createBy"); addCriterion("create_by not in", values, "createBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByBetween(String value1, String value2) { public Criteria andCreateByBetween(Integer value1, Integer value2) {
addCriterion("create_by between", value1, value2, "createBy"); addCriterion("create_by between", value1, value2, "createBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByNotBetween(String value1, String value2) { public Criteria andCreateByNotBetween(Integer value1, Integer value2) {
addCriterion("create_by not between", value1, value2, "createBy"); addCriterion("create_by not between", value1, value2, "createBy");
return (Criteria) this; return (Criteria) this;
} }
......
...@@ -25,9 +25,9 @@ public class SysOrganization { ...@@ -25,9 +25,9 @@ public class SysOrganization {
private String remark; private String remark;
private String updateBy; private Integer updateBy;
private String createBy; private Integer createBy;
private Byte label; private Byte label;
...@@ -129,20 +129,20 @@ public class SysOrganization { ...@@ -129,20 +129,20 @@ public class SysOrganization {
this.remark = remark == null ? null : remark.trim(); this.remark = remark == null ? null : remark.trim();
} }
public String getUpdateBy() { public Integer getUpdateBy() {
return updateBy; return updateBy;
} }
public void setUpdateBy(String updateBy) { public void setUpdateBy(Integer updateBy) {
this.updateBy = updateBy == null ? null : updateBy.trim(); this.updateBy = updateBy ;
} }
public String getCreateBy() { public Integer getCreateBy() {
return createBy; return createBy;
} }
public void setCreateBy(String createBy) { public void setCreateBy(Integer createBy) {
this.createBy = createBy == null ? null : createBy.trim(); this.createBy = createBy ;
} }
public Byte getLabel() { public Byte getLabel() {
......
...@@ -675,62 +675,62 @@ public class SysOrganizationExample { ...@@ -675,62 +675,62 @@ public class SysOrganizationExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByEqualTo(String value) { public Criteria andUpdateByEqualTo(Integer value) {
addCriterion("update_by =", value, "updateBy"); addCriterion("update_by =", value, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByNotEqualTo(String value) { public Criteria andUpdateByNotEqualTo(Integer value) {
addCriterion("update_by <>", value, "updateBy"); addCriterion("update_by <>", value, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByGreaterThan(String value) { public Criteria andUpdateByGreaterThan(Integer value) {
addCriterion("update_by >", value, "updateBy"); addCriterion("update_by >", value, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByGreaterThanOrEqualTo(String value) { public Criteria andUpdateByGreaterThanOrEqualTo(Integer value) {
addCriterion("update_by >=", value, "updateBy"); addCriterion("update_by >=", value, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByLessThan(String value) { public Criteria andUpdateByLessThan(Integer value) {
addCriterion("update_by <", value, "updateBy"); addCriterion("update_by <", value, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByLessThanOrEqualTo(String value) { public Criteria andUpdateByLessThanOrEqualTo(Integer value) {
addCriterion("update_by <=", value, "updateBy"); addCriterion("update_by <=", value, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByLike(String value) { public Criteria andUpdateByLike(Integer value) {
addCriterion("update_by like", value, "updateBy"); addCriterion("update_by like", value, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByNotLike(String value) { public Criteria andUpdateByNotLike(Integer value) {
addCriterion("update_by not like", value, "updateBy"); addCriterion("update_by not like", value, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByIn(List<String> values) { public Criteria andUpdateByIn(List<Integer> values) {
addCriterion("update_by in", values, "updateBy"); addCriterion("update_by in", values, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByNotIn(List<String> values) { public Criteria andUpdateByNotIn(List<Integer> values) {
addCriterion("update_by not in", values, "updateBy"); addCriterion("update_by not in", values, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByBetween(String value1, String value2) { public Criteria andUpdateByBetween(Integer value1, Integer value2) {
addCriterion("update_by between", value1, value2, "updateBy"); addCriterion("update_by between", value1, value2, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andUpdateByNotBetween(String value1, String value2) { public Criteria andUpdateByNotBetween(Integer value1, Integer value2) {
addCriterion("update_by not between", value1, value2, "updateBy"); addCriterion("update_by not between", value1, value2, "updateBy");
return (Criteria) this; return (Criteria) this;
} }
...@@ -745,62 +745,62 @@ public class SysOrganizationExample { ...@@ -745,62 +745,62 @@ public class SysOrganizationExample {
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByEqualTo(String value) { public Criteria andCreateByEqualTo(Integer value) {
addCriterion("create_by =", value, "createBy"); addCriterion("create_by =", value, "createBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByNotEqualTo(String value) { public Criteria andCreateByNotEqualTo(Integer value) {
addCriterion("create_by <>", value, "createBy"); addCriterion("create_by <>", value, "createBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByGreaterThan(String value) { public Criteria andCreateByGreaterThan(Integer value) {
addCriterion("create_by >", value, "createBy"); addCriterion("create_by >", value, "createBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByGreaterThanOrEqualTo(String value) { public Criteria andCreateByGreaterThanOrEqualTo(Integer value) {
addCriterion("create_by >=", value, "createBy"); addCriterion("create_by >=", value, "createBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByLessThan(String value) { public Criteria andCreateByLessThan(Integer value) {
addCriterion("create_by <", value, "createBy"); addCriterion("create_by <", value, "createBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByLessThanOrEqualTo(String value) { public Criteria andCreateByLessThanOrEqualTo(Integer value) {
addCriterion("create_by <=", value, "createBy"); addCriterion("create_by <=", value, "createBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByLike(String value) { public Criteria andCreateByLike(Integer value) {
addCriterion("create_by like", value, "createBy"); addCriterion("create_by like", value, "createBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByNotLike(String value) { public Criteria andCreateByNotLike(Integer value) {
addCriterion("create_by not like", value, "createBy"); addCriterion("create_by not like", value, "createBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByIn(List<String> values) { public Criteria andCreateByIn(List<Integer> values) {
addCriterion("create_by in", values, "createBy"); addCriterion("create_by in", values, "createBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByNotIn(List<String> values) { public Criteria andCreateByNotIn(List<Integer> values) {
addCriterion("create_by not in", values, "createBy"); addCriterion("create_by not in", values, "createBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByBetween(String value1, String value2) { public Criteria andCreateByBetween(Integer value1, Integer value2) {
addCriterion("create_by between", value1, value2, "createBy"); addCriterion("create_by between", value1, value2, "createBy");
return (Criteria) this; return (Criteria) this;
} }
public Criteria andCreateByNotBetween(String value1, String value2) { public Criteria andCreateByNotBetween(Integer value1, Integer value2) {
addCriterion("create_by not between", value1, value2, "createBy"); addCriterion("create_by not between", value1, value2, "createBy");
return (Criteria) this; return (Criteria) this;
} }
......
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="remark" jdbcType="VARCHAR" property="remark" /> <result column="remark" jdbcType="VARCHAR" property="remark" />
<result column="update_by" jdbcType="VARCHAR" property="updateBy" /> <result column="update_by" jdbcType="INTEGER" property="updateBy" />
<result column="create_by" jdbcType="VARCHAR" property="createBy" /> <result column="create_by" jdbcType="INTEGER" property="createBy" />
<result column="label" jdbcType="TINYINT" property="label" /> <result column="label" jdbcType="TINYINT" property="label" />
<result column="menu_group" jdbcType="VARCHAR" property="menuGroup" /> <result column="menu_group" jdbcType="VARCHAR" property="menuGroup" />
<result column="func_type" jdbcType="VARCHAR" property="funcType" /> <result column="func_type" jdbcType="VARCHAR" property="funcType" />
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
#{rightDes,jdbcType=VARCHAR}, #{requestAdd,jdbcType=VARCHAR}, #{menuStatus,jdbcType=TINYINT}, #{rightDes,jdbcType=VARCHAR}, #{requestAdd,jdbcType=VARCHAR}, #{menuStatus,jdbcType=TINYINT},
#{menuType,jdbcType=TINYINT}, #{menuIcon,jdbcType=VARCHAR}, #{isShow,jdbcType=TINYINT}, #{menuType,jdbcType=TINYINT}, #{menuIcon,jdbcType=VARCHAR}, #{isShow,jdbcType=TINYINT},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR},
#{updateBy,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{label,jdbcType=TINYINT}, #{updateBy,jdbcType=INTEGER}, #{createBy,jdbcType=INTEGER}, #{label,jdbcType=TINYINT},
#{menuGroup,jdbcType=VARCHAR}, #{funcType,jdbcType=VARCHAR}) #{menuGroup,jdbcType=VARCHAR}, #{funcType,jdbcType=VARCHAR})
</insert> </insert>
<insert id="insertSelective" parameterType="com.glsx.usercenter.pojo.menu.SysMenu"> <insert id="insertSelective" parameterType="com.glsx.usercenter.pojo.menu.SysMenu">
...@@ -193,10 +193,10 @@ ...@@ -193,10 +193,10 @@
#{remark,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR},
</if> </if>
<if test="updateBy != null"> <if test="updateBy != null">
#{updateBy,jdbcType=VARCHAR}, #{updateBy,jdbcType=INTEGER},
</if> </if>
<if test="createBy != null"> <if test="createBy != null">
#{createBy,jdbcType=VARCHAR}, #{createBy,jdbcType=INTEGER},
</if> </if>
<if test="label != null"> <if test="label != null">
#{label,jdbcType=TINYINT}, #{label,jdbcType=TINYINT},
...@@ -249,10 +249,10 @@ ...@@ -249,10 +249,10 @@
remark = #{remark,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR},
</if> </if>
<if test="updateBy != null"> <if test="updateBy != null">
update_by = #{updateBy,jdbcType=VARCHAR}, update_by = #{updateBy,jdbcType=INTEGER},
</if> </if>
<if test="createBy != null"> <if test="createBy != null">
create_by = #{createBy,jdbcType=VARCHAR}, create_by = #{createBy,jdbcType=INTEGER},
</if> </if>
<if test="label != null"> <if test="label != null">
label = #{label,jdbcType=TINYINT}, label = #{label,jdbcType=TINYINT},
...@@ -280,8 +280,8 @@ ...@@ -280,8 +280,8 @@
create_time = #{createTime,jdbcType=TIMESTAMP}, create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP},
remark = #{remark,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR},
update_by = #{updateBy,jdbcType=VARCHAR}, update_by = #{updateBy,jdbcType=INTEGER},
create_by = #{createBy,jdbcType=VARCHAR}, create_by = #{createBy,jdbcType=INTEGER},
label = #{label,jdbcType=TINYINT}, label = #{label,jdbcType=TINYINT},
menu_group = #{menuGroup,jdbcType=VARCHAR}, menu_group = #{menuGroup,jdbcType=VARCHAR},
func_type = #{funcType,jdbcType=VARCHAR} func_type = #{funcType,jdbcType=VARCHAR}
......
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
<result column="create_time" jdbcType="TIMESTAMP" property="createTime"/> <result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/> <result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/>
<result column="remark" jdbcType="VARCHAR" property="remark"/> <result column="remark" jdbcType="VARCHAR" property="remark"/>
<result column="update_by" jdbcType="VARCHAR" property="updateBy"/> <result column="update_by" jdbcType="INTEGER" property="updateBy"/>
<result column="create_by" jdbcType="VARCHAR" property="createBy"/> <result column="create_by" jdbcType="INTEGER" property="createBy"/>
<result column="label" jdbcType="TINYINT" property="label"/> <result column="label" jdbcType="TINYINT" property="label"/>
<result column="org_group" jdbcType="VARCHAR" property="orgGroup"/> <result column="org_group" jdbcType="VARCHAR" property="orgGroup"/>
</resultMap> </resultMap>
...@@ -87,8 +87,8 @@ ...@@ -87,8 +87,8 @@
) )
values (#{parentId,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{orgStatus,jdbcType=TINYINT}, values (#{parentId,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{orgStatus,jdbcType=TINYINT},
#{orgType,jdbcType=TINYINT}, #{sort,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{orgType,jdbcType=TINYINT}, #{sort,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{updateBy,jdbcType=INTEGER},
#{createBy,jdbcType=VARCHAR}, #{label,jdbcType=TINYINT}, #{orgGroup,jdbcType=VARCHAR} #{createBy,jdbcType=INTEGER}, #{label,jdbcType=TINYINT}, #{orgGroup,jdbcType=VARCHAR}
) )
</insert> </insert>
<insert id="insertSelective" parameterType="com.glsx.usercenter.pojo.menu.SysOrganization"> <insert id="insertSelective" parameterType="com.glsx.usercenter.pojo.menu.SysOrganization">
...@@ -160,10 +160,10 @@ ...@@ -160,10 +160,10 @@
#{remark,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR},
</if> </if>
<if test="updateBy != null"> <if test="updateBy != null">
#{updateBy,jdbcType=VARCHAR}, #{updateBy,jdbcType=INTEGER},
</if> </if>
<if test="createBy != null"> <if test="createBy != null">
#{createBy,jdbcType=VARCHAR}, #{createBy,jdbcType=INTEGER},
</if> </if>
<if test="label != null"> <if test="label != null">
#{label,jdbcType=TINYINT}, #{label,jdbcType=TINYINT},
...@@ -201,10 +201,10 @@ ...@@ -201,10 +201,10 @@
remark = #{remark,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR},
</if> </if>
<if test="updateBy != null"> <if test="updateBy != null">
update_by = #{updateBy,jdbcType=VARCHAR}, update_by = #{updateBy,jdbcType=INTEGER},
</if> </if>
<if test="createBy != null"> <if test="createBy != null">
create_by = #{createBy,jdbcType=VARCHAR}, create_by = #{createBy,jdbcType=INTEGER},
</if> </if>
<if test="label != null"> <if test="label != null">
label = #{label,jdbcType=TINYINT}, label = #{label,jdbcType=TINYINT},
...@@ -225,8 +225,8 @@ ...@@ -225,8 +225,8 @@
create_time = #{createTime,jdbcType=TIMESTAMP}, create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP},
remark = #{remark,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR},
update_by = #{updateBy,jdbcType=VARCHAR}, update_by = #{updateBy,jdbcType=INTEGER},
create_by = #{createBy,jdbcType=VARCHAR}, create_by = #{createBy,jdbcType=INTEGER},
label = #{label,jdbcType=TINYINT}, label = #{label,jdbcType=TINYINT},
org_group = #{orgGroup,jdbcType=VARCHAR} org_group = #{orgGroup,jdbcType=VARCHAR}
WHERE id = #{id,jdbcType=INTEGER} WHERE id = #{id,jdbcType=INTEGER}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!