1
This commit is contained in:
@@ -129,9 +129,6 @@ public class CleanOrderServiceImpl implements ICleanOrderService {
|
||||
BeanUtils.copyProperties(bo, add);
|
||||
add.setStarTime(new DateTime(bo.getStarTime()).toLocalDateTime());
|
||||
add.setEndTime(new DateTime(bo.getEndTime()).toLocalDateTime());
|
||||
|
||||
|
||||
|
||||
boolean flag = baseMapper.insert(add) > 0;
|
||||
|
||||
//向clean表中插入数据
|
||||
|
@@ -7,9 +7,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<select id="selectForPage" resultType="org.dromara.property.domain.vo.CleanOrderVo">
|
||||
SELECT
|
||||
co.*,
|
||||
c.*
|
||||
c.*,
|
||||
ru.name name,ru.id
|
||||
FROM
|
||||
clean_order co
|
||||
LEFT JOIN clean c ON co.clean_id = c.id
|
||||
LEFT JOIN resident_unit ru ON co.unit_id = ru.id;
|
||||
</select>
|
||||
</mapper>
|
||||
|
Reference in New Issue
Block a user