Quellcode durchsuchen

LY 合成器证书

ly vor 2 Jahren
Ursprung
Commit
6e89fde8ba

+ 16 - 0
master/src/main/resources/mybatis/training/TWorkcertificateCbpsMapper.xml

@@ -187,28 +187,44 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="classes != null">classes = #{classes},</if>
             <if test="container != null">container = #{container},</if>
             <if test="containerDate != null">container_date = #{containerDate},</if>
+            <if test="containerDate == null">container_date = NULL,</if>
             <if test="containerLifespan != null">container_lifespan = #{containerLifespan},</if>
+            <if test="containerLifespan == null">container_lifespan = NULL,</if>
             <if test="pipe != null">pipe = #{pipe},</if>
             <if test="pipeDate != null">pipe_date = #{pipeDate},</if>
+            <if test="pipeDate == null">pipe_date = NULL,</if>
             <if test="pipeLifespan != null">pipe_lifespan = #{pipeLifespan},</if>
+            <if test="pipeLifespan == null">pipe_lifespan = NULL,</if>
             <if test="worker != null">worker = #{worker},</if>
             <if test="workerDate != null">worker_date = #{workerDate},</if>
+            <if test="workerDate == null">worker_date = NULL,</if>
             <if test="workerLifespan != null">worker_lifespan = #{workerLifespan},</if>
+            <if test="workerLifespan == null">worker_lifespan = NULL,</if>
             <if test="foreman != null">foreman = #{foreman},</if>
             <if test="foremanDate != null">foreman_date = #{foremanDate},</if>
+            <if test="foremanDate == null">foreman_date = NULL,</if>
             <if test="foremanLifespan != null">foreman_lifespan = #{foremanLifespan},</if>
+            <if test="foremanLifespan == null">foreman_lifespan = NULL,</if>
             <if test="ac != null">ac = #{ac},</if>
             <if test="acDate != null">ac_date = #{acDate},</if>
+            <if test="acDate == null">ac_date = NULL,</if>
             <if test="acLifespan != null">ac_lifespan = #{acLifespan},</if>
+            <if test="acLifespan == null">ac_lifespan = NULL,</if>
             <if test="firefighter != null">firefighter = #{firefighter},</if>
             <if test="firefighterDate != null">firefighter_date = #{firefighterDate},</if>
+            <if test="firefighterDate == null">firefighter_date = NULL,</if>
             <if test="firefighterLifespan != null">firefighter_lifespan = #{firefighterLifespan},</if>
+            <if test="firefighterLifespan == null">firefighter_lifespan = NULL,</if>
             <if test="safety != null">safety = #{safety},</if>
             <if test="safetyDate != null">safety_date = #{safetyDate},</if>
+            <if test="safetyDate == null">safety_date = NULL,</if>
             <if test="safetyLifespan != null">safety_lifespan = #{safetyLifespan},</if>
+            <if test="safetyLifespan == null">safety_lifespan = NULL,</if>
             <if test="tds != null">tds = #{tds},</if>
             <if test="tdsDate != null">tds_date = #{tdsDate},</if>
+            <if test="tdsDate == null">tds_date = NULL,</if>
             <if test="tdsLifespan != null">tds_lifespan = #{tdsLifespan},</if>
+            <if test="tdsLifespan == null">tds_lifespan = NULL,</if>
             <if test="delFlag != null">del_flag = #{delFlag},</if>
             <if test="createrCode != null">creater_code = #{createrCode},</if>
             <if test="createdate != null">createdate = #{createdate},</if>

+ 0 - 3
ui/src/views/training/workcertificateCbps/index.vue

@@ -240,9 +240,6 @@
     <!-- 添加或修改作业证书一览对话框 -->
     <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
-        <el-form-item label="唯一标识ID" prop="id">
-          <el-input v-model="form.id" placeholder="请输入唯一标识ID" />
-        </el-form-item>
         <el-form-item label="装置名称" prop="plantCode">
           <el-select v-model="form.plantCode" placeholder="请选择装置名称">
             <el-option