Merge branch 'master' of http://git.picaiba.com/mt-ck/mt-qj-wms-hd
This commit is contained in:
@@ -106,8 +106,7 @@ public class MyGenerator {
|
||||
|
||||
@Test
|
||||
public void generateCodeWithInjectConfigForAllTable() {
|
||||
generateByTablesWithInjectConfig(new String[]{"t_curr_task"});
|
||||
generateByTablesWithInjectConfig(new String[]{"t_task_his"});
|
||||
generateByTablesWithInjectConfig(new String[]{"t_apms_check_result"});
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
@@ -15,7 +15,7 @@ import java.time.LocalDateTime;
|
||||
* </p>
|
||||
*
|
||||
* @author mt
|
||||
* @since 2021-11-19
|
||||
* @since 2021-12-29
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@@ -94,7 +94,31 @@ public class ApmsCheckResult extends Model<ApmsCheckResult> {
|
||||
* 心部硬度检验值
|
||||
*/
|
||||
@TableField("heart_hardness")
|
||||
private Float heartHardness;
|
||||
private String heartHardness;
|
||||
|
||||
/**
|
||||
* 备注,特殊注释等
|
||||
*/
|
||||
@TableField("remake")
|
||||
private String remake;
|
||||
|
||||
/**
|
||||
* 硬度检验结果1
|
||||
*/
|
||||
@TableField("hardness_value_one")
|
||||
private String hardnessValueOne;
|
||||
|
||||
/**
|
||||
* 硬度检验结果2
|
||||
*/
|
||||
@TableField("hardness_value_two")
|
||||
private String hardnessValueTwo;
|
||||
|
||||
/**
|
||||
* 硬度检验结果3
|
||||
*/
|
||||
@TableField("hardness_value_three")
|
||||
private String hardnessValueThree;
|
||||
|
||||
|
||||
public static final String ID = "id";
|
||||
@@ -121,6 +145,14 @@ public class ApmsCheckResult extends Model<ApmsCheckResult> {
|
||||
|
||||
public static final String HEART_HARDNESS = "heart_hardness";
|
||||
|
||||
public static final String REMAKE = "remake";
|
||||
|
||||
public static final String HARDNESS_VALUE_ONE = "hardness_value_one";
|
||||
|
||||
public static final String HARDNESS_VALUE_TWO = "hardness_value_two";
|
||||
|
||||
public static final String HARDNESS_VALUE_THREE = "hardness_value_three";
|
||||
|
||||
@Override
|
||||
protected Serializable pkVal() {
|
||||
return this.id;
|
||||
|
||||
@@ -9,7 +9,7 @@ import com.mt.wms.core.dal.entity.ApmsCheckResult;
|
||||
* </p>
|
||||
*
|
||||
* @author mt
|
||||
* @since 2021-11-19
|
||||
* @since 2021-12-29
|
||||
*/
|
||||
public interface ApmsCheckResultMapper extends BaseMapper<ApmsCheckResult> {
|
||||
|
||||
|
||||
@@ -16,12 +16,16 @@
|
||||
<result column="hardness" property="hardness"/>
|
||||
<result column="metallography" property="metallography"/>
|
||||
<result column="heart_hardness" property="heartHardness"/>
|
||||
<result column="remake" property="remake"/>
|
||||
<result column="hardness_value_one" property="hardnessValueOne"/>
|
||||
<result column="hardness_value_two" property="hardnessValueTwo"/>
|
||||
<result column="hardness_value_three" property="hardnessValueThree"/>
|
||||
</resultMap>
|
||||
|
||||
<!-- 通用查询结果列 -->
|
||||
<sql id="Base_Column_List">
|
||||
id, valid, create_time, creator_id, updater_id, update_time, version, sheet_no, iden_card_num, hardness,
|
||||
metallography, heart_hardness
|
||||
metallography, heart_hardness, remake, hardness_value_one, hardness_value_two, hardness_value_three
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
|
||||
@@ -9,7 +9,7 @@ import com.mt.wms.core.dal.entity.ApmsCheckResult;
|
||||
* </p>
|
||||
*
|
||||
* @author mt
|
||||
* @since 2021-11-19
|
||||
* @since 2021-12-29
|
||||
*/
|
||||
public interface ApmsCheckResultServiceBiz extends IService<ApmsCheckResult> {
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service;
|
||||
* </p>
|
||||
*
|
||||
* @author mt
|
||||
* @since 2021-11-19
|
||||
* @since 2021-12-29
|
||||
*/
|
||||
@Service
|
||||
public class ApmsCheckResultServiceBizImpl extends ServiceImpl<ApmsCheckResultMapper, ApmsCheckResult> implements ApmsCheckResultServiceBiz {
|
||||
|
||||
Reference in New Issue
Block a user