Sfoglia il codice sorgente

Merge branch 'develop' of http://192.168.11.14:51037/gitadmin/tuoheng_freeway into feature_v1.0

tags/v1.0.0^2
chengwang 1 anno fa
parent
commit
435d2fc687
12 ha cambiato i file con 10 aggiunte e 51 eliminazioni
  1. +0
    -5
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/entity/InspectionFile.java
  2. +0
    -5
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/entity/InspectionFileExtend.java
  3. +1
    -2
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspectionfile/handle/QueryInspectionFileHandleByInspectionFileIdService.java
  4. +1
    -2
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspectionfile/query/QueryInspectionFileDistributionListService.java
  5. +1
    -2
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspectionfile/query/QueryInspectionFilePageListByWorkOrderIdService.java
  6. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/dsp/DspCallbackServiceImpl.java
  7. +1
    -6
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/vo/inspection/InspectionFileDistributionListVo.java
  8. +1
    -6
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/vo/inspection/InspectionFileHandleVo.java
  9. +0
    -5
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/vo/inspection/InspectionFilePageListByInspectionIdVo.java
  10. +0
    -5
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/vo/inspection/InspectionFilePageListVo.java
  11. +0
    -5
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/vo/inspection/InspectionFileReportVo.java
  12. +4
    -7
      tuoheng-service/tuoheng-admin/src/main/resources/mapper/InspectionFileMapper.xml

+ 0
- 5
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/entity/InspectionFile.java Vedi File

*/ */
private String questionName; private String questionName;


/**
* 巡检内容
*/
private String questionContent;

/** /**
* 详细描述 * 详细描述
*/ */

+ 0
- 5
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/entity/InspectionFileExtend.java Vedi File

*/ */
private String questionName; private String questionName;
/**
* 巡检内容
*/
private String questionContent;
/** /**
* 详细描述 * 详细描述
*/ */

+ 1
- 2
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspectionfile/handle/QueryInspectionFileHandleByInspectionFileIdService.java Vedi File

.eq(QuestionType::getCode, inspectionFile.getQuestionCode()) .eq(QuestionType::getCode, inspectionFile.getQuestionCode())
.eq(QuestionType::getMark, 1)); .eq(QuestionType::getMark, 1));
if (null != questionType) { if (null != questionType) {
inspectionFileHandleVo.setQuestionName(questionType.getName());
inspectionFileHandleVo.setQuestionContent(questionType.getContent());
inspectionFileHandleVo.setQuestionName(questionType.getContent());
} }
inspectionFileHandleVo.setQuestionCode(inspectionFile.getQuestionCode()); inspectionFileHandleVo.setQuestionCode(inspectionFile.getQuestionCode());
inspectionFileHandleVo.setFileThumbnail(CommonConfig.imageURL + inspectionFile.getFileThumbnail()); inspectionFileHandleVo.setFileThumbnail(CommonConfig.imageURL + inspectionFile.getFileThumbnail());

+ 1
- 2
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspectionfile/query/QueryInspectionFileDistributionListService.java Vedi File

for (InspectionFileDistributionListVo inspectionFileDistributionListVo : inspectionFileDistributionListVoList) { for (InspectionFileDistributionListVo inspectionFileDistributionListVo : inspectionFileDistributionListVoList) {
questionType = questionTypeMap.get(inspectionFileDistributionListVo.getQuestionId()); questionType = questionTypeMap.get(inspectionFileDistributionListVo.getQuestionId());
if (null != questionType) { if (null != questionType) {
inspectionFileDistributionListVo.setQuestionName(questionType.getName());
inspectionFileDistributionListVo.setQuestionContent(questionType.getContent());
inspectionFileDistributionListVo.setQuestionName(questionType.getContent());
} }
inspectionFileDistributionListVo.setFileThumbnail(CommonConfig.imageURL + inspectionFileDistributionListVo.getFileThumbnail()); inspectionFileDistributionListVo.setFileThumbnail(CommonConfig.imageURL + inspectionFileDistributionListVo.getFileThumbnail());
} }

+ 1
- 2
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspectionfile/query/QueryInspectionFilePageListByWorkOrderIdService.java Vedi File

questionType = questionTypeMap.get(inspectionFile.getQuestionCode()); questionType = questionTypeMap.get(inspectionFile.getQuestionCode());
if (null != questionType) { if (null != questionType) {
inspectionFileHandleVo.setQuestionCode(questionType.getCode()); inspectionFileHandleVo.setQuestionCode(questionType.getCode());
inspectionFileHandleVo.setQuestionName(questionType.getName());
inspectionFileHandleVo.setQuestionContent(questionType.getContent());
inspectionFileHandleVo.setQuestionName(questionType.getContent());
} }


if (ObjectUtil.isNotNull(inspectionFileHandleMap)) { if (ObjectUtil.isNotNull(inspectionFileHandleMap)) {

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/dsp/DspCallbackServiceImpl.java Vedi File

} }


// 问题名称 // 问题名称
inspectionFile.setQuestionContent(questionFile.getQuestionName());
inspectionFile.setQuestionName(questionFile.getQuestionName());
inspectionFile.setTenantId(inspection.getTenantId()); inspectionFile.setTenantId(inspection.getTenantId());
inspectionFile.setInspectionId(inspectionId); inspectionFile.setInspectionId(inspectionId);
// 文件类型 // 文件类型

+ 1
- 6
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/vo/inspection/InspectionFileDistributionListVo.java Vedi File

/** /**
* 问题名称:1坑槽,2积水,3裂缝 * 问题名称:1坑槽,2积水,3裂缝
*/ */
private Integer questionName;

/**
* 问题内容
*/
private String questionContent;
private String questionName;


/** /**
* 缩略图 * 缩略图

+ 1
- 6
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/vo/inspection/InspectionFileHandleVo.java Vedi File

/** /**
* 问题名称:1坑槽,2积水,3裂缝 * 问题名称:1坑槽,2积水,3裂缝
*/ */
private Integer questionName;

/**
* 问题内容
*/
private String questionContent;
private String questionName;


/** /**
* 文件名称 * 文件名称

+ 0
- 5
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/vo/inspection/InspectionFilePageListByInspectionIdVo.java Vedi File

*/ */
private String questionName; private String questionName;


/**
* 问题内容
*/
private String questionContent;

/** /**
* 文件名称 * 文件名称
*/ */

+ 0
- 5
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/vo/inspection/InspectionFilePageListVo.java Vedi File

*/ */
private String questionName; private String questionName;


/**
* 问题内容
*/
private String questionContent;

/** /**
* 文件名称 * 文件名称
*/ */

+ 0
- 5
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/vo/inspection/InspectionFileReportVo.java Vedi File

*/ */
private Integer questionName; private Integer questionName;


/**
* 问题内容
*/
private String questionContent;

/** /**
* 缩略图 * 缩略图
*/ */

+ 4
- 7
tuoheng-service/tuoheng-admin/src/main/resources/mapper/InspectionFileMapper.xml Vedi File

<result property="questionCode" column="question_code" /> <result property="questionCode" column="question_code" />
<result property="source" column="source" /> <result property="source" column="source" />
<result property="questionName" column="question_name" /> <result property="questionName" column="question_name" />
<result property="questionContent" column="question_content" />
<result property="questionDesc" column="question_desc" /> <result property="questionDesc" column="question_desc" />
<result property="status" column="status" /> <result property="status" column="status" />
<result property="checkUser" column="check_user" /> <result property="checkUser" column="check_user" />
<result property="questionCode" column="question_code" /> <result property="questionCode" column="question_code" />
<result property="source" column="source" /> <result property="source" column="source" />
<result property="questionName" column="question_name" /> <result property="questionName" column="question_name" />
<result property="questionContent" column="question_content" />
<result property="questionDesc" column="question_desc" /> <result property="questionDesc" column="question_desc" />
<result property="status" column="status" /> <result property="status" column="status" />
<result property="checkUser" column="check_user" /> <result property="checkUser" column="check_user" />
</resultMap> </resultMap>


<sql id="Base_Column_List"> <sql id="Base_Column_List">
id, tenant_id, file_code, inspection_id, file_type, file_name, file_thumbnail, file_original, file_image, file_size, latitude, longitude, location, gaode_longitude, gaode_latitude, gaode_address, question_code, source, question_name, question_content, question_desc, status, check_user, check_time, create_user, create_time, update_user, update_time, mark
id, tenant_id, file_code, inspection_id, file_type, file_name, file_thumbnail, file_original, file_image, file_size, latitude, longitude, location, gaode_longitude, gaode_latitude, gaode_address, question_code, source, question_name, question_desc, status, check_user, check_time, create_user, create_time, update_user, update_time, mark
</sql> </sql>


<sql id="selectThInspectionFileVo"> <sql id="selectThInspectionFileVo">
select id, tenant_id, file_code, inspection_id, file_type, file_name, file_thumbnail, file_original, file_image, file_size, latitude, longitude, location, gaode_longitude, gaode_latitude, gaode_address, question_code, source, question_name, question_content, question_desc, status, check_user, check_time, create_user, create_time, update_user, update_time, mark from th_inspection_file
select id, tenant_id, file_code, inspection_id, file_type, file_name, file_thumbnail, file_original, file_image, file_size, latitude, longitude, location, gaode_longitude, gaode_latitude, gaode_address, question_code, source, question_name, question_desc, status, check_user, check_time, create_user, create_time, update_user, update_time, mark from th_inspection_file
</sql> </sql>


<sql id="Base_Extend_Column_List"> <sql id="Base_Extend_Column_List">
tif.id, tif.tenant_id, tif.file_code, tif.inspection_id, tif.file_type, tif.file_name, tif.file_thumbnail, tif.file_original, tif.file_image, tif.file_size, tif.id, tif.tenant_id, tif.file_code, tif.inspection_id, tif.file_type, tif.file_name, tif.file_thumbnail, tif.file_original, tif.file_image, tif.file_size,
tif.latitude, tif.longitude, tif.location, tif.gaode_longitude, tif.gaode_latitude, tif.gaode_address, tif.source, tif.question_code, tif.question_name, tif.question_content, tif.question_desc, tif.status,
tif.latitude, tif.longitude, tif.location, tif.gaode_longitude, tif.gaode_latitude, tif.gaode_address, tif.source, tif.question_code, tif.question_name, tif.question_desc, tif.status,
tif.check_user, tif.check_time, tif.create_user, tif.create_time, tif.update_user, tif.update_time, tif.mark, tif.check_user, tif.check_time, tif.create_user, tif.create_time, tif.update_user, tif.update_time, tif.mark,
ti.code as inspection_code, ti.name as inspection_name, ti.road_id, ti.dept_id ti.code as inspection_code, ti.name as inspection_name, ti.road_id, ti.dept_id
</sql> </sql>
<insert id="addBatch" parameterType="com.tuoheng.admin.entity.InspectionFile"> <insert id="addBatch" parameterType="com.tuoheng.admin.entity.InspectionFile">
insert into th_inspection_file (id,file_code, inspection_id, file_type, file_name, insert into th_inspection_file (id,file_code, inspection_id, file_type, file_name,
file_thumbnail, file_original, file_image, file_size, latitude, longitude, `location`, gaode_longitude, gaode_latitude, file_thumbnail, file_original, file_image, file_size, latitude, longitude, `location`, gaode_longitude, gaode_latitude,
gaode_address, `source`, question_code, question_name, question_content, question_desc, `status`, check_user, check_time, create_user, tenant_id)
gaode_address, `source`, question_code, question_name, question_desc, `status`, check_user, check_time, create_user, tenant_id)
values values
<foreach collection="list" item="item" separator=","> <foreach collection="list" item="item" separator=",">
( (
#{item.source,jdbcType=BOOLEAN}, #{item.source,jdbcType=BOOLEAN},
#{item.questionCode,jdbcType=VARCHAR}, #{item.questionCode,jdbcType=VARCHAR},
#{item.questionName,jdbcType=VARCHAR}, #{item.questionName,jdbcType=VARCHAR},
#{item.questionContent,jdbcType=VARCHAR},
#{item.questionDesc,jdbcType=VARCHAR}, #{item.questionDesc,jdbcType=VARCHAR},
#{item.status,jdbcType=TINYINT}, #{item.status,jdbcType=TINYINT},
#{item.checkUser,jdbcType=INTEGER}, #{item.checkUser,jdbcType=INTEGER},

Loading…
Annulla
Salva