|
@@ -31,8 +31,8 @@ import java.util.Map;
|
|
|
**/
|
|
|
public interface DmDayPcRepository extends JpaRepository<DmDayPc, Long>, JpaSpecificationExecutor<DmDayPc> {
|
|
|
|
|
|
- @Query(value = "SELECT DISTINCT a.`pcid`, `pid`, a.`id`, a.`name`, a.`price`, `times`, `cate`, `cate_name`," +
|
|
|
- " `window`, `window_name`, a.`pstate`, `seq`, `date`, `shopname`,0 as `food.id`,null as `food.code`," +
|
|
|
+ @Query(value = "SELECT DISTINCT a.`pcid`, `pid`, a.`id`, a.`name`, a.`price`, `times`, `cate`, `cate_name`, a.`state`, " +
|
|
|
+ " `window`, `window_name`, a.`pstate`, a.`barcode`, a.`no`, a.`goods`, a.`pinyin`, a.`qty_book`, `seq`, `date`, `shopname`,0 as `food.id`,null as `food.code`," +
|
|
|
"null as `food.name`,null as `food.type`,null as `food.price`,null as `food.picture`,null as `food.remark`," +
|
|
|
"null as `food.create_by`,null as `food.update_by`,null as `food.create_time`,null as `food.update_time`," +
|
|
|
"0 as `food.num` FROM dm_day_pc a LEFT JOIN dm_food b ON a.pid=b.id " +
|