Преглед изворни кода

修改公出申请接口修改,避免公出时段重复

anderx пре 3 година
родитељ
комит
c4015f8404

+ 1 - 1
src/main/java/com/goafanti/common/dao/PublicReleaseMapper.java

@@ -13,7 +13,7 @@ public interface PublicReleaseMapper {
     int deleteByPrimaryKey(Integer id);
 
     int insert(PublicRelease record);
-
+//<!--  <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.PublicRelease" useGeneratedKeys="true">-->
     int insertSelective(PublicRelease record);
 
     PublicRelease selectByPrimaryKey(Integer id);

+ 1 - 1
src/main/java/com/goafanti/common/mapper/PublicReleaseMapper.xml

@@ -75,7 +75,7 @@
       #{type,jdbcType=INTEGER}, #{orderNo,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP},
       #{updateStatus,jdbcType=INTEGER})
   </insert>
-<!--  <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.PublicRelease" useGeneratedKeys="true">-->
+
   <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.PublicRelease" useGeneratedKeys="true">
     insert into public_release
     <trim prefix="(" suffix=")" suffixOverrides=",">